~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to lib/bind/port_after.h.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2006-01-05 12:29:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060105122928-oih7ttkkmpb90q8q
Tags: 1:9.3.2-1
* New upstream
* use lsb-base for start/stop messages in init.d.
* switch to debhelper 4

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#if (!defined(BSD)) || (BSD < 199306)
9
9
#include <sys/bitypes.h>
10
10
#endif
 
11
#ifdef HAVE_INTTYPES_H
 
12
#include <inttypes.h>
 
13
#endif
11
14
 
12
15
@NEED_PSELECT@
13
16
@HAVE_SA_LEN@
27
30
@INNETGR_ARGS@
28
31
@SETNETGRENT_ARGS@
29
32
@USE_IFNAMELINKID@
30
 
 
31
 
/* XXX sunos and cygwin needs O_NDELAY */
32
 
#define PORT_NONBLOCK O_NONBLOCK
 
33
@PORT_NONBLOCK@
33
34
 
34
35
/*
35
36
 * We need to know the IPv6 address family number even on IPv4-only systems.
255
256
#endif
256
257
 
257
258
#ifndef ALIGN
258
 
#define ALIGN(p) (((unsigned int)(p) + (sizeof(int) - 1)) & ~(sizeof(int) - 1))
 
259
#define ALIGN(p) (((uintptr_t)(p) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
259
260
#endif
260
261
 
261
262
#ifdef NEED_SETGROUPENT
298
299
GROUP_R_END_RETURN endgrent_r(GROUP_R_ENT_ARGS);
299
300
#endif
300
301
 
301
 
#ifdef NEED_INNETGR_R
 
302
#if defined(NEED_INNETGR_R) && defined(NGR_R_RETURN)
302
303
NGR_R_RETURN
303
304
innetgr_r(const char *, const char *, const char *, const char *);
304
305
#endif
381
382
 
382
383
int getnetgrent(char **machinep, char **userp, char **domainp);
383
384
 
 
385
#ifdef NGR_R_ARGS
384
386
int getnetgrent_r(char **machinep, char **userp, char **domainp, NGR_R_ARGS);
 
387
#endif
385
388
 
386
389
#ifdef SETNETGRENT_ARGS
387
390
void setnetgrent(SETNETGRENT_ARGS);