hesiod.h (65532) | hesiod.h (93032) |
---|---|
1/* $NetBSD: hesiod.h,v 1.3 1999/01/24 23:53:18 lukem Exp $ */ | 1/* $NetBSD: hesiod.h,v 1.3 1999/01/24 23:53:18 lukem Exp $ */ |
2/* $FreeBSD: head/include/hesiod.h 65532 2000-09-06 18:16:48Z nectar $ */ | 2/* $FreeBSD: head/include/hesiod.h 93032 2002-03-23 17:24:55Z imp $ */ |
3 4 5/*- 6 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 65 unchanged lines hidden (view full) --- 76#define HES_ER_CONFIG 2 /* local problem (no config file?) */ 77#define HES_ER_NET 3 /* network problem */ 78 79 /* Declaration of routines */ 80 81#include <sys/cdefs.h> 82 83__BEGIN_DECLS | 3 4 5/*- 6 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 65 unchanged lines hidden (view full) --- 76#define HES_ER_CONFIG 2 /* local problem (no config file?) */ 77#define HES_ER_NET 3 /* network problem */ 78 79 /* Declaration of routines */ 80 81#include <sys/cdefs.h> 82 83__BEGIN_DECLS |
84int hesiod_init __P((void **)); 85char **hesiod_resolve __P((void *, const char *, const char *)); 86void hesiod_free_list __P((void *, char **)); 87char *hesiod_to_bind __P((void *, const char *, const char *)); 88void hesiod_end __P((void *)); | 84int hesiod_init(void **); 85char **hesiod_resolve(void *, const char *, const char *); 86void hesiod_free_list(void *, char **); 87char *hesiod_to_bind(void *, const char *, const char *); 88void hesiod_end(void *); |
89 90 /* backwards compatibility */ | 89 90 /* backwards compatibility */ |
91int hes_init __P((void)); 92char *hes_to_bind __P((const char *, const char *)); 93char **hes_resolve __P((const char *, const char *)); 94int hes_error __P((void)); 95void hes_free __P((char **)); | 91int hes_init(void); 92char *hes_to_bind(const char *, const char *); 93char **hes_resolve(const char *, const char *); 94int hes_error(void); 95void hes_free(char **); |
96__END_DECLS 97 98#endif /* ! _HESIOD_H_ */ | 96__END_DECLS 97 98#endif /* ! _HESIOD_H_ */ |