2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,

<isc/net.h> and Win32's <isc/thread.h> needed
                        ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
This commit is contained in:
David Lawrence
2000-04-28 22:09:15 +00:00
parent 390b2077fc
commit 027212247d
6 changed files with 37 additions and 14 deletions

View File

@@ -15,9 +15,10 @@
* SOFTWARE.
*/
/* $Id: commandline.h,v 1.2 2000/02/03 23:07:48 halley Exp $ */
/* $Id: commandline.h,v 1.3 2000/04/28 22:09:15 tale Exp $ */
#include <isc/boolean.h>
#include <isc/lang.h>
extern int isc_commandline_index; /* Index into parent argv vector. */
extern int isc_commandline_option; /* Character checked for validity. */
@@ -28,5 +29,9 @@ extern char *isc_commandline_progname; /* For printing error messages. */
extern isc_boolean_t isc_commandline_errprint; /* Print error message. */
extern isc_boolean_t isc_commandline_reset; /* Reset getopt. */
ISC_LANG_BEGINDECLS
int
isc_commandline_parse(int argc, char * const *argv, const char *options);
ISC_LANG_ENDDECLS

View File

@@ -40,8 +40,9 @@
*** Imports
***/
#include <isc/types.h>
#include <isc/lang.h>
#include <isc/netaddr.h>
#include <isc/types.h>
/*
* Public structure describing a network interface.
@@ -67,6 +68,8 @@ struct isc_interface {
*** Functions
***/
ISC_LANG_BEGINDECLS
isc_result_t
isc_interfaceiter_create(isc_mem_t *mctx, isc_interfaceiter_t **iterp);
/*
@@ -124,4 +127,6 @@ isc_interfaceiter_destroy(isc_interfaceiter_t **iterp);
* Destroy the iterator.
*/
ISC_LANG_ENDDECLS
#endif /* ISC_INTERFACEITER_H */