projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use inet_pton() to parse Subnets.
[tinc]
/
src
/
dropin.h
diff --git
a/src/dropin.h
b/src/dropin.h
index
dc7dbee
..
012099b
100644
(file)
--- a/
src/dropin.h
+++ b/
src/dropin.h
@@
-1,3
+1,6
@@
+#ifndef TINC_DROPIN_H
+#define TINC_DROPIN_H
+
/*
dropin.h -- header file for dropin.c
Copyright (C) 2000-2005 Ivo Timmermans,
/*
dropin.h -- header file for dropin.c
Copyright (C) 2000-2005 Ivo Timmermans,
@@
-18,14
+21,11
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __DROPIN_H__
-#define __DROPIN_H__
-
#include "fake-getaddrinfo.h"
#include "fake-getnameinfo.h"
#ifndef HAVE_DAEMON
#include "fake-getaddrinfo.h"
#include "fake-getnameinfo.h"
#ifndef HAVE_DAEMON
-extern int daemon(int
, int
);
+extern int daemon(int
nochdir, int noclose
);
#endif
#ifndef HAVE_GET_CURRENT_DIR_NAME
#endif
#ifndef HAVE_GET_CURRENT_DIR_NAME
@@
-33,16
+33,16
@@
extern char *get_current_dir_name(void);
#endif
#ifndef HAVE_ASPRINTF
#endif
#ifndef HAVE_ASPRINTF
-extern int asprintf(char **
, const char *
, ...);
-extern int vasprintf(char **
, const char *
, va_list ap);
+extern int asprintf(char **
buf, const char *fmt
, ...);
+extern int vasprintf(char **
buf, const char *fmt
, va_list ap);
#endif
#ifndef HAVE_GETTIMEOFDAY
#endif
#ifndef HAVE_GETTIMEOFDAY
-extern int gettimeofday(struct timeval *
, void *
);
+extern int gettimeofday(struct timeval *
tv, void *tz
);
#endif
#ifndef HAVE_USLEEP
#endif
#ifndef HAVE_USLEEP
-extern int usleep(long long);
+extern int usleep(long long
usec
);
#endif
#endif
-#endif
/* __DROPIN_H__ */
+#endif