mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
headers: added header guards
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
|
||||
*/
|
||||
|
||||
#ifndef CLOEXEC_H
|
||||
# define CLOEXEC_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
|
||||
@@ -36,3 +39,5 @@ int set_cloexec_flag (int desc, bool value);
|
||||
be duplicated. */
|
||||
|
||||
int dup_cloexec (int fd);
|
||||
|
||||
#endif /* CLOEXEC_H */
|
||||
|
||||
@@ -15,5 +15,10 @@
|
||||
* Lesser General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef LZS_H
|
||||
# define LZS_H
|
||||
|
||||
int lzs_decompress(unsigned char *dst, int dstlen, const unsigned char *src, int srclen);
|
||||
int lzs_compress(unsigned char *dst, int dstlen, const unsigned char *src, int srclen);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -17,4 +17,9 @@
|
||||
* Nikos Mavrogiannopoulos <nmav@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef GEOIP_H
|
||||
# define GEOIP_H
|
||||
|
||||
char * geo_lookup(const char *ip, char *buf, unsigned buf_size);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user