#include <foo.h> -> #include <libowfat/foo.h>

master
leitner 8 years ago
parent dba47741bf
commit 760598ec2f

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array \- The array library interface array \- The array library interface
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
.SH DESCRIPTION .SH DESCRIPTION
An \fBallocated\fR array variable keeps track of An \fBallocated\fR array variable keeps track of
@ -23,7 +23,7 @@ dynamically allocated region of memory.
A new array variable is normally created as a static variable: A new array variable is normally created as a static variable:
#include "array.h" #include <libowfat/array.h>
static array x; static array x;

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_allocate \- make sure array has at least n elements allocated array_allocate \- make sure array has at least n elements allocated
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void* \fBarray_allocate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR); void* \fBarray_allocate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_bytes \- get number of allocated members in array array_bytes \- get number of allocated members in array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
int64 \fBarray_bytes\fP(array* \fIx\fR); int64 \fBarray_bytes\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_cat \- append one array to another array_cat \- append one array to another
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_cat\fP(array* \fIx\fR,array* \fIy\fR); void \fBarray_cat\fP(array* \fIx\fR,array* \fIy\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_cat0 \- append 0 byte to an array array_cat0 \- append 0 byte to an array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_cat0\fP(array* \fIx\fR); void \fBarray_cat0\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_catb \- append bytes to an array array_catb \- append bytes to an array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_catb\fP(array* \fIx\fR,const char* \fIy\fR,int64 \fIlen\fR); void \fBarray_catb\fP(array* \fIx\fR,const char* \fIy\fR,int64 \fIlen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_cate \- append subset of one array to another array array_cate \- append subset of one array to another array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_cate\fP(array* \fIx\fR,array* \fIy\fR, int64 \fIpos\fR,int64 \fIstop\fR); void \fBarray_cate\fP(array* \fIx\fR,array* \fIy\fR, int64 \fIpos\fR,int64 \fIstop\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_cats \- append C string to an array array_cats \- append C string to an array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_cats\fP(array* \fIx\fR,const char* \fIy\fR); void \fBarray_cats\fP(array* \fIx\fR,const char* \fIy\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_cats0 \- append C string to an array array_cats0 \- append C string to an array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_cats0\fP(array* \fIx\fR,const char* \fIy\fR); void \fBarray_cats0\fP(array* \fIx\fR,const char* \fIy\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_equal \- compare two arrays for equality array_equal \- compare two arrays for equality
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
int \fBarray_equal\fP(array* \fIx\fR,array* \fIy\fR); int \fBarray_equal\fP(array* \fIx\fR,array* \fIy\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_fail \- switch array to have failed array_fail \- switch array to have failed
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_fail\fP(array* \fIx\fR); void \fBarray_fail\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_get \- get pointer to nth element in array array_get \- get pointer to nth element in array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void* \fBarray_get\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR); void* \fBarray_get\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_length \- get number of allocated members in array array_length \- get number of allocated members in array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
int64 \fBarray_length\fP(array* \fIx\fR,uint64 \fImembersize\fR); int64 \fBarray_length\fP(array* \fIx\fR,uint64 \fImembersize\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_reset \- deallocate array array_reset \- deallocate array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_reset\fP(array* \fIx\fR); void \fBarray_reset\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_start \- get pointer to first element in array array_start \- get pointer to first element in array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void* \fBarray_start\fP(array* \fIx\fR); void* \fBarray_start\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_trunc \- reduce number of initialized bytes array_trunc \- reduce number of initialized bytes
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_trunc\fP(array* \fIx\fR); void \fBarray_trunc\fP(array* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
array_truncate \- reduce number of initialized bytes array_truncate \- reduce number of initialized bytes
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
void \fBarray_truncate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIlen\fR); void \fBarray_truncate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIlen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
iarray_allocate \- get pointer to nth element in iarray iarray_allocate \- get pointer to nth element in iarray
.SH SYNTAX .SH SYNTAX
.B #include <iarray.h> .B #include <libowfat/iarray.h>
void* \fBiarray_allocate\fP(iarray* \fIx\fR, size_t \fIpos\fR); void* \fBiarray_allocate\fP(iarray* \fIx\fR, size_t \fIpos\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
iarray_free \- free iarray data structure iarray_free \- free iarray data structure
.SH SYNTAX .SH SYNTAX
.B #include <iarray.h> .B #include <libowfat/iarray.h>
void \fBiarray_free\fP(iarray* \fIx\fR); void \fBiarray_free\fP(iarray* \fIx\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
iarray_get \- get pointer to nth element in iarray iarray_get \- get pointer to nth element in iarray
.SH SYNTAX .SH SYNTAX
.B #include <iarray.h> .B #include <libowfat/iarray.h>
void* \fBiarray_get\fP(iarray* \fIx\fR, size_t \fIpos\fR); void* \fBiarray_get\fP(iarray* \fIx\fR, size_t \fIpos\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
iarray_init \- initialize iarray data structure iarray_init \- initialize iarray data structure
.SH SYNTAX .SH SYNTAX
.B #include <iarray.h> .B #include <libowfat/iarray.h>
void \fBiarray_init\fP(array* \fIx\fR, size_t \fIelemsize\fR); void \fBiarray_init\fP(array* \fIx\fR, size_t \fIelemsize\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer.h \- generic read/write buffering buffer.h \- generic read/write buffering
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
buffer* buffer_0; /* like stdio's stdin */ buffer* buffer_0; /* like stdio's stdin */
buffer* buffer_1; /* like stdio's stdout */ buffer* buffer_1; /* like stdio's stdout */
@ -25,7 +25,7 @@ program termination; you must manually call \fBbuffer_flush\fR,
See buffer_init(3) for example read buffer code. Here is typical code See buffer_init(3) for example read buffer code. Here is typical code
for printing an error message on stderr: for printing an error message on stderr:
#include <buffer.h> #include <libowfat/buffer.h>
buffer_puts(buffer_2,"error: got only "); buffer_puts(buffer_2,"error: got only ");
buffer_putulong(buffer_2,got); buffer_putulong(buffer_2,got);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_close \- close buffer buffer_close \- close buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_close\fP(buffer* \fIb\fR); void \fBbuffer_close\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_feed \- low-level component of buffer_get buffer_feed \- low-level component of buffer_get
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_feed\fP(buffer* \fIb\fR); int \fBbuffer_feed\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_flush \- feed buffer to write function buffer_flush \- feed buffer to write function
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_flush\fP(buffer* \fIb\fR); int \fBbuffer_flush\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,8 +2,8 @@
.SH NAME .SH NAME
buffer_fromarray \- initialize buffer structure from array buffer_fromarray \- initialize buffer structure from array
.SH SYNTAX .SH SYNTAX
.B #include <array.h> .B #include <libowfat/array.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_fromarray\fR(buffer* \fIb\fR,array* \fIa\fR); void \fBbuffer_fromarray\fR(buffer* \fIb\fR,array* \fIa\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_frombuf \- initialize buffer structure from raw memory buffer_frombuf \- initialize buffer structure from raw memory
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_frombuf\fR(buffer* \fIb\fR,const char* \fIx\fR, size_t \fIl\fR); void \fBbuffer_frombuf\fR(buffer* \fIb\fR,const char* \fIx\fR, size_t \fIl\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_fromsa \- initialize buffer structure from stralloc buffer_fromsa \- initialize buffer structure from stralloc
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_fromsa\fR(buffer* \fIb\fR,const stralloc* \fIsa\fR); void \fBbuffer_fromsa\fR(buffer* \fIb\fR,const stralloc* \fIsa\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_get \- read binary data from buffer buffer_get \- read binary data from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
ssize_t \fBbuffer_get\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR); ssize_t \fBbuffer_get\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,8 +3,8 @@
buffer_get_new_token_sa \- read token from buffer buffer_get_new_token_sa \- read token from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_get_new_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR, int \fBbuffer_get_new_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
const char* \fIcharset\fR,size_t \fIsetlen\fR); const char* \fIcharset\fR,size_t \fIsetlen\fR);

@ -3,8 +3,8 @@
buffer_get_new_token_sa_pred \- read token from buffer buffer_get_new_token_sa_pred \- read token from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_get_new_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR, int \fBbuffer_get_new_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
int (*\fIpredicate\fR)(stralloc* * \fIsa\fR)); int (*\fIpredicate\fR)(stralloc* * \fIsa\fR));

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_get_token \- read token from buffer buffer_get_token \- read token from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
ssize_t \fBbuffer_get_token\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR, ssize_t \fBbuffer_get_token\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR,
const char* \fIcharset\fR,size_t \fIsetlen\fR); const char* \fIcharset\fR,size_t \fIsetlen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_get_token_pred \- read token from buffer buffer_get_token_pred \- read token from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
ssize_t \fBbuffer_get_token_pred\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR, ssize_t \fBbuffer_get_token_pred\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR,
int (*\fIpredicate\fR)(const char* \fIs\fR,size_t \fIlen\fR)); int (*\fIpredicate\fR)(const char* \fIs\fR,size_t \fIlen\fR));

@ -3,8 +3,8 @@
buffer_get_token_sa \- read token from buffer buffer_get_token_sa \- read token from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_get_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR, int \fBbuffer_get_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
const char* \fIcharset\fR,size_t \fIsetlen\fR); const char* \fIcharset\fR,size_t \fIsetlen\fR);

@ -3,8 +3,8 @@
buffer_get_token_sa_pred \- read token from buffer buffer_get_token_sa_pred \- read token from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_get_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR, int \fBbuffer_get_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
int (*\fIpredicate\fR)(stralloc* * \fIsa\fR)); int (*\fIpredicate\fR)(stralloc* * \fIsa\fR));

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_getc \- read one char from buffer buffer_getc \- read one char from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_getc\fP(buffer* \fIb\fR,char* \fIx\fR); int \fBbuffer_getc\fP(buffer* \fIb\fR,char* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_getline \- read line from buffer buffer_getline \- read line from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
ssize_t \fBbuffer_getline\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR); ssize_t \fBbuffer_getline\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,8 +3,8 @@
buffer_getline_sa \- read line from buffer buffer_getline_sa \- read line from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_getline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR); int \fBbuffer_getline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_getn \- read binary data from buffer buffer_getn \- read binary data from buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
ssize_t \fBbuffer_getn\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR); ssize_t \fBbuffer_getn\fP(buffer* \fIb\fR,char* \fIx\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,8 +3,8 @@
buffer_getnewline_sa \- read line from buffer buffer_getnewline_sa \- read line from buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_getnewline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR); int \fBbuffer_getnewline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_init \- initialize buffer structure buffer_init \- initialize buffer structure
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_init\fR(buffer &\fIb\fR, void \fBbuffer_init\fR(buffer &\fIb\fR,
ssize_t (*\fIop\fR)(int,char*,size_t), ssize_t (*\fIop\fR)(int,char*,size_t),
@ -24,8 +24,8 @@ are compile-time constants.
You can call buffer_init again at any time. Note that this discards the You can call buffer_init again at any time. Note that this discards the
currently buffered string. currently buffered string.
.SH EXAMPLE .SH EXAMPLE
#include <buffer.h> #include <libowfat/buffer.h>
#include <open.h> #include <libowfat/open.h>
char buf[4096]; char buf[4096];
int fd=open_read("/etc/services"); int fd=open_read("/etc/services");

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_init_free \- initialize buffer structure buffer_init_free \- initialize buffer structure
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_init_free\fR(buffer &\fIb\fR, void \fBbuffer_init_free\fR(buffer &\fIb\fR,
ssize_t (*\fIop\fR)(int,char*,size_t), ssize_t (*\fIop\fR)(int,char*,size_t),

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_mmapread \- create read-only memory-mapped file buffer buffer_mmapread \- create read-only memory-mapped file buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_mmapread\fR(buffer &\fIb\fR,const char* \fIfilename\fR); int \fBbuffer_mmapread\fR(buffer &\fIb\fR,const char* \fIfilename\fR);
.SH DESCRIPTION .SH DESCRIPTION
@ -11,8 +11,8 @@ that the contents of the file can be read from it. Using mmap is more
efficient than reading through a real buffer, but you have to call efficient than reading through a real buffer, but you have to call
buffer_close to unmap the memory in the end. buffer_close to unmap the memory in the end.
.SH EXAMPLE .SH EXAMPLE
#include <buffer.h> #include <libowfat/buffer.h>
#include <open.h> #include <libowfat/open.h>
buffer input; buffer input;
char x; char x;

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_peek \- return pointer to string in buffer buffer_peek \- return pointer to string in buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
char* \fBbuffer_peek\fP(buffer* \fIb\fR); char* \fBbuffer_peek\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_put \- write binary data to buffer buffer_put \- write binary data to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_put\fP(buffer* \fIb\fR,const char* \fIx\fR,size_t \fIlen\fR); int \fBbuffer_put\fP(buffer* \fIb\fR,const char* \fIx\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,7 +3,7 @@
buffer_put8long \- write an octal ASCII representation of an unsigned buffer_put8long \- write an octal ASCII representation of an unsigned
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_put8long\fP(buffer* \fIb\fR,unsigned long \fIx\fR); int \fBbuffer_put8long\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putalign \- write binary data to buffer buffer_putalign \- write binary data to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putalign\fP(buffer* \fIb\fR,const char* \fIx\fR,size_t \fIlen\fR); int \fBbuffer_putalign\fP(buffer* \fIb\fR,const char* \fIx\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_puterror \- write error string to buffer and flush buffer_puterror \- write error string to buffer and flush
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_puterror\fP(buffer* \fIb\fR); int \fBbuffer_puterror\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_puterror2 \- write error string to buffer and flush buffer_puterror2 \- write error string to buffer and flush
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_puterror2\fP(buffer* \fIb\fR,int \fIerrnum\fR); int \fBbuffer_puterror2\fP(buffer* \fIb\fR,int \fIerrnum\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putflush \- write binary data to buffer and flush buffer_putflush \- write binary data to buffer and flush
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putflush\fP(buffer* \fIb\fR, int \fBbuffer_putflush\fP(buffer* \fIb\fR,
const char* \fIx\fR,size_t \fIlen\fR); const char* \fIx\fR,size_t \fIlen\fR);

@ -3,7 +3,7 @@
buffer_putlong \- write a decimal ASCII representation of a signed buffer_putlong \- write a decimal ASCII representation of a signed
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putlong\fP(buffer* \fIb\fR,signed long \fIx\fR); int \fBbuffer_putlong\fP(buffer* \fIb\fR,signed long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,7 +3,7 @@
buffer_putlonglong \- write a decimal ASCII representation of a signed buffer_putlonglong \- write a decimal ASCII representation of a signed
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putlonglong\fP(buffer* \fIb\fR,signed long long \fIx\fR); int \fBbuffer_putlonglong\fP(buffer* \fIb\fR,signed long long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putm \- write ASCIIZ string(s) to buffer buffer_putm \- write ASCIIZ string(s) to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putm\fP(buffer* \fIb\fR,const char* \fIx\fR,...); int \fBbuffer_putm\fP(buffer* \fIb\fR,const char* \fIx\fR,...);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putnlflush \- write '\\n' to buffer and flush buffer_putnlflush \- write '\\n' to buffer and flush
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putnlflush\fP(buffer* \fIb\fR); int \fBbuffer_putnlflush\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_puts \- write ASCIIZ string to buffer buffer_puts \- write ASCIIZ string to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_puts\fP(buffer* \fIb\fR,const char* \fIx\fR); int \fBbuffer_puts\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,8 +3,8 @@
buffer_putsa \- write stralloc to buffer buffer_putsa \- write stralloc to buffer
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putsa\fP(buffer* \fIb\fR,const stralloc* \fIx\fR); int \fBbuffer_putsa\fP(buffer* \fIb\fR,const stralloc* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,8 +3,8 @@
buffer_putsa \- write stralloc to buffer and flush buffer_putsa \- write stralloc to buffer and flush
.SH SYNTAX .SH SYNTAX
.nf .nf
.B #include <stralloc.h> .B #include <libowfat/stralloc.h>
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putsaflush\fP(buffer* \fIb\fR,const stralloc* \fIx\fR); int \fBbuffer_putsaflush\fP(buffer* \fIb\fR,const stralloc* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putsalign \- write ASCIIZ string to buffer buffer_putsalign \- write ASCIIZ string to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putsalign\fP(buffer* \fIb\fR,const char* \fIx\fR); int \fBbuffer_putsalign\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putsflush \- write ASCIIZ string to buffer and flush buffer_putsflush \- write ASCIIZ string to buffer and flush
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putsflush\fP(buffer* \fIb\fR,const char* \fIx\fR); int \fBbuffer_putsflush\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_putspace \- write ASCII space to buffer buffer_putspace \- write ASCII space to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putspace\fP(buffer* \fIb\fR); int \fBbuffer_putspace\fP(buffer* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,7 +3,7 @@
buffer_putulong \- write a decimal ASCII representation of an unsigned buffer_putulong \- write a decimal ASCII representation of an unsigned
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putulong\fP(buffer* \fIb\fR,unsigned long \fIx\fR); int \fBbuffer_putulong\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,7 +3,7 @@
buffer_putulonglong \- write a decimal ASCII representation of a signed buffer_putulonglong \- write a decimal ASCII representation of a signed
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putulonglong\fP(buffer* \fIb\fR,unsigned long long \fIx\fR); int \fBbuffer_putulonglong\fP(buffer* \fIb\fR,unsigned long long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -3,7 +3,7 @@
buffer_putxlong \- write a hexidecimal ASCII representation of an unsigned buffer_putxlong \- write a hexidecimal ASCII representation of an unsigned
long integer to buffer long integer to buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_putxlong\fP(buffer* \fIb\fR,unsigned long \fIx\fR); int \fBbuffer_putxlong\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_seek \- remove bytes from beginning of string in buffer buffer_seek \- remove bytes from beginning of string in buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
void \fBbuffer_seek\fP(buffer* \fIb\fR,size_t \fIr\fR); void \fBbuffer_seek\fP(buffer* \fIb\fR,size_t \fIr\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
buffer_tosa \- initialize buffer for writing to stralloc buffer_tosa \- initialize buffer for writing to stralloc
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .B #include <libowfat/buffer.h>
int \fBbuffer_tosa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR); int \fBbuffer_tosa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_chr \- search for a byte in a string byte_chr \- search for a byte in a string
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
size_t \fBbyte_chr\fP(const char *\fIhaystack\fR,size_t \fIlen\fR,char \fIneedle\fR); size_t \fBbyte_chr\fP(const char *\fIhaystack\fR,size_t \fIlen\fR,char \fIneedle\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_copy \- copy a string byte_copy \- copy a string
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
void \fBbyte_copy\fP(char *\fIout\fR,size_t \fIlen\fR,const char *\fIin\fR); void \fBbyte_copy\fP(char *\fIout\fR,size_t \fIlen\fR,const char *\fIin\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_copyr \- copy a string byte_copyr \- copy a string
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
void \fBbyte_copyr\fP(char *\fIout\fR,size_t \fIlen\fR,const char *\fIin\fR); void \fBbyte_copyr\fP(char *\fIout\fR,size_t \fIlen\fR,const char *\fIin\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_diff \- compare two strings byte_diff \- compare two strings
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
int \fBbyte_diff\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR); int \fBbyte_diff\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_equal \- compare two strings byte_equal \- compare two strings
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
int \fBbyte_equal\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR); int \fBbyte_equal\fP(const char *\fIone\fR,size_t \fIlen\fR,const char *\fItwo\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_rchr \- search for a byte in a string byte_rchr \- search for a byte in a string
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
size_t \fBbyte_rchr\fP(const char *\fIhaystack\fR,size_t \fIlen\fR,char \fIneedle\fR); size_t \fBbyte_rchr\fP(const char *\fIhaystack\fR,size_t \fIlen\fR,char \fIneedle\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
byte_zero \- initialize a string byte_zero \- initialize a string
.SH SYNTAX .SH SYNTAX
.B #include <byte.h> .B #include <libowfat/byte.h>
void \fBbyte_zero\fP(char *\fIout\fR,size_t \fIlen\fR); void \fBbyte_zero\fP(char *\fIout\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
case_diffb \- compare strings case-insensitively case_diffb \- compare strings case-insensitively
.SH SYNTAX .SH SYNTAX
.B #include <case.h> .B #include <libowfat/case.h>
int \fBcase_diffb\fP(const void* \fIa\fR,size_t \fIlen\fR,const void* \fIb\fR); int \fBcase_diffb\fP(const void* \fIa\fR,size_t \fIlen\fR,const void* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
case_diffs \- compare strings case-insensitively case_diffs \- compare strings case-insensitively
.SH SYNTAX .SH SYNTAX
.B #include <case.h> .B #include <libowfat/case.h>
int \fBcase_diffs\fP(const char* \fIa\fR,const char* \fIb\fR); int \fBcase_diffs\fP(const char* \fIa\fR,const char* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
case_lowerb \- compare strings case-insensitively case_lowerb \- compare strings case-insensitively
.SH SYNTAX .SH SYNTAX
.B #include <case.h> .B #include <libowfat/case.h>
void \fBcase_lowerb\fP(void* \fIs\fR,size_t \fIlen\fR); void \fBcase_lowerb\fP(void* \fIs\fR,size_t \fIlen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
case_lowers \- compare strings case-insensitively case_lowers \- compare strings case-insensitively
.SH SYNTAX .SH SYNTAX
.B #include <case.h> .B #include <libowfat/case.h>
void \fBcase_lowers\fP(char* \fIs\fR); void \fBcase_lowers\fP(char* \fIs\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
case_starts \- compare prefixes of strings case-insensitively case_starts \- compare prefixes of strings case-insensitively
.SH SYNTAX .SH SYNTAX
.B #include <case.h> .B #include <libowfat/case.h>
int \fBcase_starts\fP(const char* \fIa\fR,const char* \fIb\fR); int \fBcase_starts\fP(const char* \fIa\fR,const char* \fIb\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_datalen \- get length of data cdb_datalen \- get length of data
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
unsigned int cdb_datalen(struct cdb *\fIc\fR); unsigned int cdb_datalen(struct cdb *\fIc\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_datapos \- get position of data cdb_datapos \- get position of data
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
uint32 cdb_datapos(struct cdb *\fIc\fR); uint32 cdb_datapos(struct cdb *\fIc\fR);

@ -2,9 +2,9 @@
.SH NAME .SH NAME
cdb_find \- look up a key in a constant database cdb_find \- look up a key in a constant database
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
.br .br
.B #include <uint32.h> .B #include <libowfat/uint32.h>
int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR); int cdb_find(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIkeylen\fR);
.br .br

@ -2,9 +2,9 @@
.SH NAME .SH NAME
cdb_firstkey \- find first physical record in constant database cdb_firstkey \- find first physical record in constant database
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
.br .br
.B #include <uint32.h> .B #include <libowfat/uint32.h>
int cdb_firstkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR); int cdb_firstkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_free \- close a constant databased cdb_free \- close a constant databased
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
int cdb_free(struct cdb *\fIc\fR); int cdb_free(struct cdb *\fIc\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_init \- open a constant database cdb_init \- open a constant database
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
int cdb_init(struct cdb *\fIc\fR,int \fIfd\fR); int cdb_init(struct cdb *\fIc\fR,int \fIfd\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_keylen \- get length of key cdb_keylen \- get length of key
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
unsigned int cdb_keylen(struct cdb *\fIc\fR); unsigned int cdb_keylen(struct cdb *\fIc\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_keypos \- get position of key cdb_keypos \- get position of key
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
uint32 cdb_keypos(struct cdb *\fIc\fR); uint32 cdb_keypos(struct cdb *\fIc\fR);

@ -2,9 +2,9 @@
.SH NAME .SH NAME
cdb_nextkey \- find next physical record in constant database cdb_nextkey \- find next physical record in constant database
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
.br .br
.B #include <uint32.h> .B #include <libowfat/uint32.h>
int cdb_nextkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR); int cdb_nextkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR);

@ -2,9 +2,9 @@
.SH NAME .SH NAME
cdb_read \- read bytes from a constant database cdb_read \- read bytes from a constant database
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
.br .br
.B #include <uint32.h> .B #include <libowfat/uint32.h>
int cdb_read(struct cdb *\fIc\fR,char *\fIbuf\fR,unsigned long int \fIlen\fR,uint32 \fIposition\fR); int cdb_read(struct cdb *\fIc\fR,char *\fIbuf\fR,unsigned long int \fIlen\fR,uint32 \fIposition\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
cdb_successor \- find next record cdb_successor \- find next record
.SH SYNTAX .SH SYNTAX
.B #include <cdb.h> .B #include <libowfat/cdb.h>
int cdb_successor(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIklen\fR); int cdb_successor(struct cdb *\fIc\fR,char *\fIkey\fR,unsigned long int \fIklen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
critbit0_allprefixed \- search a critbit tree by prefix critbit0_allprefixed \- search a critbit tree by prefix
.SH SYNTAX .SH SYNTAX
.B #include <critbit.h> .B #include <libowfat/critbit.h>
critbit0_tree cb = { 0 }; critbit0_tree cb = { 0 };

@ -2,7 +2,7 @@
.SH NAME .SH NAME
critbit0_clear \- free all memory associated with a critbit tree critbit0_clear \- free all memory associated with a critbit tree
.SH SYNTAX .SH SYNTAX
.B #include <critbit.h> .B #include <libowfat/critbit.h>
critbit0_tree cb = { 0 }; critbit0_tree cb = { 0 };

@ -2,7 +2,7 @@
.SH NAME .SH NAME
critbit0_contains \- check whether a string is in the critbit tree critbit0_contains \- check whether a string is in the critbit tree
.SH SYNTAX .SH SYNTAX
.B #include <critbit.h> .B #include <libowfat/critbit.h>
critbit0_tree cb = { 0 }; critbit0_tree cb = { 0 };

@ -2,7 +2,7 @@
.SH NAME .SH NAME
critbit0_delete \- delete a string from a critbit tree critbit0_delete \- delete a string from a critbit tree
.SH SYNTAX .SH SYNTAX
.B #include <critbit.h> .B #include <libowfat/critbit.h>
critbit0_tree cb = { 0 }; critbit0_tree cb = { 0 };

@ -2,7 +2,7 @@
.SH NAME .SH NAME
critbit0_insert \- insert a string into a critbit tree critbit0_insert \- insert a string into a critbit tree
.SH SYNTAX .SH SYNTAX
.B #include <critbit.h> .B #include <libowfat/critbit.h>
critbit0_tree cb = { 0 }; critbit0_tree cb = { 0 };

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip4 \- look up IPv4 addresses dns_ip4 \- look up IPv4 addresses
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip4\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR); int \fBdns_ip4\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip4_packet \- extract IPv4 address from DNS answer packet dns_ip4_packet \- extract IPv4 address from DNS answer packet
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip4_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR, int \fBdns_ip4_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR,
unsigned int \fIlen\fR); unsigned int \fIlen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip4_qualify \- qualify name and look up IPv4 addresses dns_ip4_qualify \- qualify name and look up IPv4 addresses
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip4_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR, int \fBdns_ip4_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR,
const stralloc* \fIudn\fR); const stralloc* \fIudn\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip6 \- look up IPv6 addresses dns_ip6 \- look up IPv6 addresses
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip6\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR); int \fBdns_ip6\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip6_packet \- extract IPv6 address from DNS answer packet dns_ip6_packet \- extract IPv6 address from DNS answer packet
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip6_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR, int \fBdns_ip6_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR,
unsigned int \fIlen\fR); unsigned int \fIlen\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_ip6_qualify \- qualify name and look up IPv6 addresses dns_ip6_qualify \- qualify name and look up IPv6 addresses
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_ip6_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR, int \fBdns_ip6_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR,
const stralloc* \fIudn\fR); const stralloc* \fIudn\fR);

@ -2,7 +2,7 @@
.SH NAME .SH NAME
dns_mx \- look up Mail eXchanger dns_mx \- look up Mail eXchanger
.SH SYNTAX .SH SYNTAX
.B #include <dns.h> .B #include <libowfat/dns.h>
int \fBdns_mx\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR); int \fBdns_mx\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION .SH DESCRIPTION

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save