Archive for June, 2007
Saturday, June 2nd, 2007
LWRES_CONFIG
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get – lightweight resolver configuration
SYNOPSIS
#include <lwres/lwres.h>
void lwres_conf_init(lwres_context_t *ctx);
void lwres_conf_clear(lwres_context_t *ctx);
lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename);
lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp);
lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);
DESCRIPTION
lwres_conf_init()
creates an empty
lwres_conf_t
structure for lightweight resolver context
ctx.
lwres_conf_clear()
frees up all the internal memory used by that
lwres_conf_t
structure in resolver context
ctx.
lwres_conf_parse()
opens the file
filename
and parses it to initialise the ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_INETNTOP
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_net_ntop – lightweight resolver IP address presentation
SYNOPSIS
#include <lwres/net.h>
const char * lwres_net_ntop(int af, const void *src, char *dst, size_t size);
DESCRIPTION
lwres_net_ntop()
converts an IP address of protocol family
af
––– IPv4 or IPv6 ––– at location
src
from network format to its conventional representation as a string. For IPv4 addresses, that string would be ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_PACKET
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_lwpacket_renderheader, lwres_lwpacket_parseheader – lightweight resolver packet handling functions
SYNOPSIS
#include <lwres/lwpacket.h>
lwres_result_t lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
lwres_result_t lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt);
DESCRIPTION
These functions rely on a
struct lwres_lwpacket
which is defined in
lwres/lwpacket.h.
typedef struct lwres_lwpacket lwres_lwpacket_t;
struct lwres_lwpacket {
lwres_uint32_t ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
MKREISERFS
Section: Maintenance Commands (8)Updated: February 2004Index
Return to Main Contents
NAME
mkreiserfs – The create tool for the Linux ReiserFS filesystem.
SYNOPSIS
mkreiserfs
[ –dfV ]
[ –b | ––block–size N ]
[ –h | ––hash HASH ]
[ –u | ––uuid UUID ]
[ –l | ––label LABEL ]
[ ––format FORMAT ]
[ –q | ––quiet ]
[ –j | ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_GETNAMEINFO
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_getnameinfo – lightweight resolver socket address structure to hostname and service name
SYNOPSIS
#include <lwres/netdb.h>
int lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags);
DESCRIPTION
This function is equivalent to the
getnameinfo(3)
function defined in RFC2133.
lwres_getnameinfo()
returns the hostname for the
struct sockaddr
sa
which is
salen
bytes long. The hostname is of length
hostlen
and is returned ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_GETHOSTENT
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_gethostbyname, lwres_gethostbyname2, lwres_gethostbyaddr, lwres_gethostent, lwres_sethostent, lwres_endhostent, lwres_gethostbyname_r, lwres_gethostbyaddr_r, lwres_gethostent_r, lwres_sethostent_r, lwres_endhostent_r – lightweight resolver get network host entry
SYNOPSIS
#include <lwres/netdb.h>
struct hostent * lwres_gethostbyname(const char *name);
struct hostent * lwres_gethostbyname2(const char *name, int af);
struct hostent * lwres_gethostbyaddr(const char *addr, int len, int type);
struct hostent * lwres_gethostent(void);
void lwres_sethostent(int stayopen);
void lwres_endhostent(void);
struct hostent * lwres_gethostbyname_r(const char *name, struct hostent *resbuf, char *buf, int buflen, ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_GETIPNODE
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_getipnodebyname, lwres_getipnodebyaddr, lwres_freehostent – lightweight resolver nodename / address translation API
SYNOPSIS
#include <lwres/netdb.h>
struct hostent * lwres_getipnodebyname(const char *name, int af, int flags, int *error_num);
struct hostent * lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num);
void lwres_freehostent(struct hostent *he);
DESCRIPTION
These functions perform thread safe, protocol independent nodename–to–address and address–to–nodename translation as defined in RFC2553.
They use a
struct hostent
which ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_CONTEXT
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_context_create, lwres_context_destroy, lwres_context_nextserial, lwres_context_initserial, lwres_context_freemem, lwres_context_allocmem, lwres_context_sendrecv – lightweight resolver context management
SYNOPSIS
#include <lwres/lwres.h>
lwres_result_t lwres_context_create(lwres_context_t **contextp, void *arg, lwres_malloc_t malloc_function, lwres_free_t free_function);
lwres_result_t lwres_context_destroy(lwres_context_t **contextp);
void lwres_context_initserial(lwres_context_t *ctx, lwres_uint32_t serial);
lwres_uint32_t lwres_context_nextserial(lwres_context_t *ctx);
void lwres_context_freemem(lwres_context_t *ctx, void *mem, size_t len);
void lwres_context_allocmem(lwres_context_t *ctx, size_t len);
void * lwres_context_sendrecv(lwres_context_t *ctx, void *sendbase, int sendlen, void *recvbase, int recvlen, int *recvd_len);
DESCRIPTION
lwres_context_create()
creates a
lwres_context_t
structure for use in lightweight resolver operations. It holds ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
REISERFSTUNE
Section: Maintenance Commands (8)Updated: February 2004Index
Return to Main Contents
NAME
reiserfstune – The tunning tool for the ReiserFS filesystem.
SYNOPSIS
reiserfstune
[ –f ]
[ –j | ––journal–device FILE ]
[ ––no–journal–available ]
[ ––journal–new–device FILE ] [ ––make–journal–standard ]
[ –s | ––journal–new–size N ]
[ –o | ––journal–new–offset N ]
[ –t | ––max–transaction–size N ]
[ –b | ––add–badblocks ...
Posted in Man Pages | No Comments »
Saturday, June 2nd, 2007
LWRES_CONFIG
Section: BIND9 (3)Updated: Jun 30, 2000Index
Return to Main Contents
NAME
lwres_conf_init, lwres_conf_clear, lwres_conf_parse, lwres_conf_print, lwres_conf_get – lightweight resolver configuration
SYNOPSIS
#include <lwres/lwres.h>
void lwres_conf_init(lwres_context_t *ctx);
void lwres_conf_clear(lwres_context_t *ctx);
lwres_result_t lwres_conf_parse(lwres_context_t *ctx, const char *filename);
lwres_result_t lwres_conf_print(lwres_context_t *ctx, FILE *fp);
lwres_conf_t * lwres_conf_get(lwres_context_t *ctx);
DESCRIPTION
lwres_conf_init()
creates an empty
lwres_conf_t
structure for lightweight resolver context
ctx.
lwres_conf_clear()
frees up all the internal memory used by that
lwres_conf_t
structure in resolver context
ctx.
lwres_conf_parse()
opens the file
filename
and parses it to initialise the ...
Posted in Man Pages | No Comments »