Browse Source

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

master
Felix von Leitner 3 years ago
parent
commit
d6674f6d8e
100 changed files with 119 additions and 119 deletions
  1. +2
    -2
      array/array.3
  2. +1
    -1
      array/array_allocate.3
  3. +1
    -1
      array/array_bytes.3
  4. +1
    -1
      array/array_cat.3
  5. +1
    -1
      array/array_cat0.3
  6. +1
    -1
      array/array_catb.3
  7. +1
    -1
      array/array_cate.3
  8. +1
    -1
      array/array_cats.3
  9. +1
    -1
      array/array_cats0.3
  10. +1
    -1
      array/array_equal.3
  11. +1
    -1
      array/array_fail.3
  12. +1
    -1
      array/array_get.3
  13. +1
    -1
      array/array_length.3
  14. +1
    -1
      array/array_reset.3
  15. +1
    -1
      array/array_start.3
  16. +1
    -1
      array/array_trunc.3
  17. +1
    -1
      array/array_truncate.3
  18. +1
    -1
      array/iarray_allocate.3
  19. +1
    -1
      array/iarray_free.3
  20. +1
    -1
      array/iarray_get.3
  21. +1
    -1
      array/iarray_init.3
  22. +2
    -2
      buffer/buffer.3
  23. +1
    -1
      buffer/buffer_close.3
  24. +1
    -1
      buffer/buffer_feed.3
  25. +1
    -1
      buffer/buffer_flush.3
  26. +2
    -2
      buffer/buffer_fromarray.3
  27. +1
    -1
      buffer/buffer_frombuf.3
  28. +1
    -1
      buffer/buffer_fromsa.3
  29. +1
    -1
      buffer/buffer_get.3
  30. +2
    -2
      buffer/buffer_get_new_token_sa.3
  31. +2
    -2
      buffer/buffer_get_new_token_sa_pred.3
  32. +1
    -1
      buffer/buffer_get_token.3
  33. +1
    -1
      buffer/buffer_get_token_pred.3
  34. +2
    -2
      buffer/buffer_get_token_sa.3
  35. +2
    -2
      buffer/buffer_get_token_sa_pred.3
  36. +1
    -1
      buffer/buffer_getc.3
  37. +1
    -1
      buffer/buffer_getline.3
  38. +2
    -2
      buffer/buffer_getline_sa.3
  39. +1
    -1
      buffer/buffer_getn.3
  40. +2
    -2
      buffer/buffer_getnewline_sa.3
  41. +3
    -3
      buffer/buffer_init.3
  42. +1
    -1
      buffer/buffer_init_free.3
  43. +3
    -3
      buffer/buffer_mmapread.3
  44. +1
    -1
      buffer/buffer_peek.3
  45. +1
    -1
      buffer/buffer_put.3
  46. +1
    -1
      buffer/buffer_put8long.3
  47. +1
    -1
      buffer/buffer_putalign.3
  48. +1
    -1
      buffer/buffer_puterror.3
  49. +1
    -1
      buffer/buffer_puterror2.3
  50. +1
    -1
      buffer/buffer_putflush.3
  51. +1
    -1
      buffer/buffer_putlong.3
  52. +1
    -1
      buffer/buffer_putlonglong.3
  53. +1
    -1
      buffer/buffer_putm.3
  54. +1
    -1
      buffer/buffer_putnlflush.3
  55. +1
    -1
      buffer/buffer_puts.3
  56. +2
    -2
      buffer/buffer_putsa.3
  57. +2
    -2
      buffer/buffer_putsaflush.3
  58. +1
    -1
      buffer/buffer_putsalign.3
  59. +1
    -1
      buffer/buffer_putsflush.3
  60. +1
    -1
      buffer/buffer_putspace.3
  61. +1
    -1
      buffer/buffer_putulong.3
  62. +1
    -1
      buffer/buffer_putulonglong.3
  63. +1
    -1
      buffer/buffer_putxlong.3
  64. +1
    -1
      buffer/buffer_seek.3
  65. +1
    -1
      buffer/buffer_tosa.3
  66. +1
    -1
      byte/byte_chr.3
  67. +1
    -1
      byte/byte_copy.3
  68. +1
    -1
      byte/byte_copyr.3
  69. +1
    -1
      byte/byte_diff.3
  70. +1
    -1
      byte/byte_equal.3
  71. +1
    -1
      byte/byte_rchr.3
  72. +1
    -1
      byte/byte_zero.3
  73. +1
    -1
      case/case_diffb.3
  74. +1
    -1
      case/case_diffs.3
  75. +1
    -1
      case/case_lowerb.3
  76. +1
    -1
      case/case_lowers.3
  77. +1
    -1
      case/case_starts.3
  78. +1
    -1
      cdb/cdb_datalen.3
  79. +1
    -1
      cdb/cdb_datapos.3
  80. +2
    -2
      cdb/cdb_find.3
  81. +2
    -2
      cdb/cdb_firstkey.3
  82. +1
    -1
      cdb/cdb_free.3
  83. +1
    -1
      cdb/cdb_init.3
  84. +1
    -1
      cdb/cdb_keylen.3
  85. +1
    -1
      cdb/cdb_keypos.3
  86. +2
    -2
      cdb/cdb_nextkey.3
  87. +2
    -2
      cdb/cdb_read.3
  88. +1
    -1
      cdb/cdb_successor.3
  89. +1
    -1
      critbit/critbit0_allprefixed.3
  90. +1
    -1
      critbit/critbit0_clear.3
  91. +1
    -1
      critbit/critbit0_contains.3
  92. +1
    -1
      critbit/critbit0_delete.3
  93. +1
    -1
      critbit/critbit0_insert.3
  94. +1
    -1
      dns/dns_ip4.3
  95. +1
    -1
      dns/dns_ip4_packet.3
  96. +1
    -1
      dns/dns_ip4_qualify.3
  97. +1
    -1
      dns/dns_ip6.3
  98. +1
    -1
      dns/dns_ip6_packet.3
  99. +1
    -1
      dns/dns_ip6_qualify.3
  100. +1
    -1
      dns/dns_mx.3

+ 2
- 2
array/array.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array \- The array library interface
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

.SH DESCRIPTION
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:

#include "array.h"
#include <libowfat/array.h>

static array x;



+ 1
- 1
array/array_allocate.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_allocate \- make sure array has at least n elements allocated
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void* \fBarray_allocate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR);



+ 1
- 1
array/array_bytes.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_bytes \- get number of allocated members in array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

int64 \fBarray_bytes\fP(array* \fIx\fR);



+ 1
- 1
array/array_cat.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_cat \- append one array to another
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_cat\fP(array* \fIx\fR,array* \fIy\fR);



+ 1
- 1
array/array_cat0.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_cat0 \- append 0 byte to an array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_cat0\fP(array* \fIx\fR);



+ 1
- 1
array/array_catb.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_catb \- append bytes to an array
.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);



+ 1
- 1
array/array_cate.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_cate \- append subset of one array to another array
.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);



+ 1
- 1
array/array_cats.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_cats \- append C string to an array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_cats\fP(array* \fIx\fR,const char* \fIy\fR);



+ 1
- 1
array/array_cats0.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_cats0 \- append C string to an array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_cats0\fP(array* \fIx\fR,const char* \fIy\fR);



+ 1
- 1
array/array_equal.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_equal \- compare two arrays for equality
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

int \fBarray_equal\fP(array* \fIx\fR,array* \fIy\fR);



+ 1
- 1
array/array_fail.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_fail \- switch array to have failed
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_fail\fP(array* \fIx\fR);



+ 1
- 1
array/array_get.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_get \- get pointer to nth element in array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void* \fBarray_get\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIpos\fR);



+ 1
- 1
array/array_length.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_length \- get number of allocated members in array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

int64 \fBarray_length\fP(array* \fIx\fR,uint64 \fImembersize\fR);



+ 1
- 1
array/array_reset.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_reset \- deallocate array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_reset\fP(array* \fIx\fR);



+ 1
- 1
array/array_start.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_start \- get pointer to first element in array
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void* \fBarray_start\fP(array* \fIx\fR);



+ 1
- 1
array/array_trunc.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_trunc \- reduce number of initialized bytes
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_trunc\fP(array* \fIx\fR);



+ 1
- 1
array/array_truncate.3 View File

@@ -2,7 +2,7 @@
.SH NAME
array_truncate \- reduce number of initialized bytes
.SH SYNTAX
.B #include <array.h>
.B #include <libowfat/array.h>

void \fBarray_truncate\fP(array* \fIx\fR, uint64 \fImembersize\fR, int64 \fIlen\fR);



+ 1
- 1
array/iarray_allocate.3 View File

@@ -2,7 +2,7 @@
.SH NAME
iarray_allocate \- get pointer to nth element in iarray
.SH SYNTAX
.B #include <iarray.h>
.B #include <libowfat/iarray.h>

void* \fBiarray_allocate\fP(iarray* \fIx\fR, size_t \fIpos\fR);



+ 1
- 1
array/iarray_free.3 View File

@@ -2,7 +2,7 @@
.SH NAME
iarray_free \- free iarray data structure
.SH SYNTAX
.B #include <iarray.h>
.B #include <libowfat/iarray.h>

void \fBiarray_free\fP(iarray* \fIx\fR);



+ 1
- 1
array/iarray_get.3 View File

@@ -2,7 +2,7 @@
.SH NAME
iarray_get \- get pointer to nth element in iarray
.SH SYNTAX
.B #include <iarray.h>
.B #include <libowfat/iarray.h>

void* \fBiarray_get\fP(iarray* \fIx\fR, size_t \fIpos\fR);



+ 1
- 1
array/iarray_init.3 View File

@@ -2,7 +2,7 @@
.SH NAME
iarray_init \- initialize iarray data structure
.SH SYNTAX
.B #include <iarray.h>
.B #include <libowfat/iarray.h>

void \fBiarray_init\fP(array* \fIx\fR, size_t \fIelemsize\fR);



+ 2
- 2
buffer/buffer.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer.h \- generic read/write buffering
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

buffer* buffer_0; /* like stdio's stdin */
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
for printing an error message on stderr:

#include <buffer.h>
#include <libowfat/buffer.h>

buffer_puts(buffer_2,"error: got only ");
buffer_putulong(buffer_2,got);


+ 1
- 1
buffer/buffer_close.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_close \- close buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_close\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_feed.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_feed \- low-level component of buffer_get
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_feed\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_flush.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_flush \- feed buffer to write function
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_flush\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_fromarray.3 View File

@@ -2,8 +2,8 @@
.SH NAME
buffer_fromarray \- initialize buffer structure from array
.SH SYNTAX
.B #include <array.h>
.B #include <buffer.h>
.B #include <libowfat/array.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_fromarray\fR(buffer* \fIb\fR,array* \fIa\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_frombuf.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_frombuf \- initialize buffer structure from raw memory
.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);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_fromsa.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_fromsa \- initialize buffer structure from stralloc
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_fromsa\fR(buffer* \fIb\fR,const stralloc* \fIsa\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_get.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_get \- read binary data from buffer
.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);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_get_new_token_sa.3 View File

@@ -3,8 +3,8 @@
buffer_get_new_token_sa \- read token from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_get_new_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
const char* \fIcharset\fR,size_t \fIsetlen\fR);


+ 2
- 2
buffer/buffer_get_new_token_sa_pred.3 View File

@@ -3,8 +3,8 @@
buffer_get_new_token_sa_pred \- read token from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_get_new_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
int (*\fIpredicate\fR)(stralloc* * \fIsa\fR));


+ 1
- 1
buffer/buffer_get_token.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_get_token \- read token from buffer
.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,
const char* \fIcharset\fR,size_t \fIsetlen\fR);


+ 1
- 1
buffer/buffer_get_token_pred.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_get_token_pred \- read token from buffer
.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,
int (*\fIpredicate\fR)(const char* \fIs\fR,size_t \fIlen\fR));


+ 2
- 2
buffer/buffer_get_token_sa.3 View File

@@ -3,8 +3,8 @@
buffer_get_token_sa \- read token from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_get_token_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
const char* \fIcharset\fR,size_t \fIsetlen\fR);


+ 2
- 2
buffer/buffer_get_token_sa_pred.3 View File

@@ -3,8 +3,8 @@
buffer_get_token_sa_pred \- read token from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_get_token_sa_pred\fP(buffer* \fIb\fR,stralloc* \fIsa\fR,
int (*\fIpredicate\fR)(stralloc* * \fIsa\fR));


+ 1
- 1
buffer/buffer_getc.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_getc \- read one char from buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_getc\fP(buffer* \fIb\fR,char* \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_getline.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_getline \- read line from buffer
.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);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_getline_sa.3 View File

@@ -3,8 +3,8 @@
buffer_getline_sa \- read line from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_getline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_getn.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_getn \- read binary data from buffer
.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);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_getnewline_sa.3 View File

@@ -3,8 +3,8 @@
buffer_getnewline_sa \- read line from buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_getnewline_sa\fP(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION


+ 3
- 3
buffer/buffer_init.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_init \- initialize buffer structure
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_init\fR(buffer &\fIb\fR,
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
currently buffered string.
.SH EXAMPLE
#include <buffer.h>
#include <open.h>
#include <libowfat/buffer.h>
#include <libowfat/open.h>

char buf[4096];
int fd=open_read("/etc/services");


+ 1
- 1
buffer/buffer_init_free.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_init_free \- initialize buffer structure
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_init_free\fR(buffer &\fIb\fR,
ssize_t (*\fIop\fR)(int,char*,size_t),


+ 3
- 3
buffer/buffer_mmapread.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_mmapread \- create read-only memory-mapped file buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_mmapread\fR(buffer &\fIb\fR,const char* \fIfilename\fR);
.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
buffer_close to unmap the memory in the end.
.SH EXAMPLE
#include <buffer.h>
#include <open.h>
#include <libowfat/buffer.h>
#include <libowfat/open.h>

buffer input;
char x;


+ 1
- 1
buffer/buffer_peek.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_peek \- return pointer to string in buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

char* \fBbuffer_peek\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_put.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_put \- write binary data to buffer
.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);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_put8long.3 View File

@@ -3,7 +3,7 @@
buffer_put8long \- write an octal ASCII representation of an unsigned
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_put8long\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putalign.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putalign \- write binary data to buffer
.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);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_puterror.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_puterror \- write error string to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_puterror\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_puterror2.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_puterror2 \- write error string to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_puterror2\fP(buffer* \fIb\fR,int \fIerrnum\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putflush.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putflush \- write binary data to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putflush\fP(buffer* \fIb\fR,
const char* \fIx\fR,size_t \fIlen\fR);


+ 1
- 1
buffer/buffer_putlong.3 View File

@@ -3,7 +3,7 @@
buffer_putlong \- write a decimal ASCII representation of a signed
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putlong\fP(buffer* \fIb\fR,signed long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putlonglong.3 View File

@@ -3,7 +3,7 @@
buffer_putlonglong \- write a decimal ASCII representation of a signed
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putlonglong\fP(buffer* \fIb\fR,signed long long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putm.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putm \- write ASCIIZ string(s) to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putm\fP(buffer* \fIb\fR,const char* \fIx\fR,...);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putnlflush.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putnlflush \- write '\\n' to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putnlflush\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_puts.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_puts \- write ASCIIZ string to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_puts\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_putsa.3 View File

@@ -3,8 +3,8 @@
buffer_putsa \- write stralloc to buffer
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putsa\fP(buffer* \fIb\fR,const stralloc* \fIx\fR);
.SH DESCRIPTION


+ 2
- 2
buffer/buffer_putsaflush.3 View File

@@ -3,8 +3,8 @@
buffer_putsa \- write stralloc to buffer and flush
.SH SYNTAX
.nf
.B #include <stralloc.h>
.B #include <buffer.h>
.B #include <libowfat/stralloc.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putsaflush\fP(buffer* \fIb\fR,const stralloc* \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putsalign.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putsalign \- write ASCIIZ string to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putsalign\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putsflush.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putsflush \- write ASCIIZ string to buffer and flush
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putsflush\fP(buffer* \fIb\fR,const char* \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putspace.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_putspace \- write ASCII space to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putspace\fP(buffer* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putulong.3 View File

@@ -3,7 +3,7 @@
buffer_putulong \- write a decimal ASCII representation of an unsigned
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putulong\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putulonglong.3 View File

@@ -3,7 +3,7 @@
buffer_putulonglong \- write a decimal ASCII representation of a signed
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putulonglong\fP(buffer* \fIb\fR,unsigned long long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_putxlong.3 View File

@@ -3,7 +3,7 @@
buffer_putxlong \- write a hexidecimal ASCII representation of an unsigned
long integer to buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_putxlong\fP(buffer* \fIb\fR,unsigned long \fIx\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_seek.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_seek \- remove bytes from beginning of string in buffer
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

void \fBbuffer_seek\fP(buffer* \fIb\fR,size_t \fIr\fR);
.SH DESCRIPTION


+ 1
- 1
buffer/buffer_tosa.3 View File

@@ -2,7 +2,7 @@
.SH NAME
buffer_tosa \- initialize buffer for writing to stralloc
.SH SYNTAX
.B #include <buffer.h>
.B #include <libowfat/buffer.h>

int \fBbuffer_tosa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR);
.SH DESCRIPTION


+ 1
- 1
byte/byte_chr.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_chr \- search for a byte in a string
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_copy.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_copy \- copy a string
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_copyr.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_copyr \- copy a string
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_diff.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_diff \- compare two strings
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_equal.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_equal \- compare two strings
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_rchr.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_rchr \- search for a byte in a string
.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);
.SH DESCRIPTION


+ 1
- 1
byte/byte_zero.3 View File

@@ -2,7 +2,7 @@
.SH NAME
byte_zero \- initialize a string
.SH SYNTAX
.B #include <byte.h>
.B #include <libowfat/byte.h>

void \fBbyte_zero\fP(char *\fIout\fR,size_t \fIlen\fR);
.SH DESCRIPTION


+ 1
- 1
case/case_diffb.3 View File

@@ -2,7 +2,7 @@
.SH NAME
case_diffb \- compare strings case-insensitively
.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);
.SH DESCRIPTION


+ 1
- 1
case/case_diffs.3 View File

@@ -2,7 +2,7 @@
.SH NAME
case_diffs \- compare strings case-insensitively
.SH SYNTAX
.B #include <case.h>
.B #include <libowfat/case.h>

int \fBcase_diffs\fP(const char* \fIa\fR,const char* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
case/case_lowerb.3 View File

@@ -2,7 +2,7 @@
.SH NAME
case_lowerb \- compare strings case-insensitively
.SH SYNTAX
.B #include <case.h>
.B #include <libowfat/case.h>

void \fBcase_lowerb\fP(void* \fIs\fR,size_t \fIlen\fR);
.SH DESCRIPTION


+ 1
- 1
case/case_lowers.3 View File

@@ -2,7 +2,7 @@
.SH NAME
case_lowers \- compare strings case-insensitively
.SH SYNTAX
.B #include <case.h>
.B #include <libowfat/case.h>

void \fBcase_lowers\fP(char* \fIs\fR);
.SH DESCRIPTION


+ 1
- 1
case/case_starts.3 View File

@@ -2,7 +2,7 @@
.SH NAME
case_starts \- compare prefixes of strings case-insensitively
.SH SYNTAX
.B #include <case.h>
.B #include <libowfat/case.h>

int \fBcase_starts\fP(const char* \fIa\fR,const char* \fIb\fR);
.SH DESCRIPTION


+ 1
- 1
cdb/cdb_datalen.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_datalen \- get length of data
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

unsigned int cdb_datalen(struct cdb *\fIc\fR);



+ 1
- 1
cdb/cdb_datapos.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_datapos \- get position of data
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

uint32 cdb_datapos(struct cdb *\fIc\fR);



+ 2
- 2
cdb/cdb_find.3 View File

@@ -2,9 +2,9 @@
.SH NAME
cdb_find \- look up a key in a constant database
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>
.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);
.br


+ 2
- 2
cdb/cdb_firstkey.3 View File

@@ -2,9 +2,9 @@
.SH NAME
cdb_firstkey \- find first physical record in constant database
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>
.br
.B #include <uint32.h>
.B #include <libowfat/uint32.h>

int cdb_firstkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR);



+ 1
- 1
cdb/cdb_free.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_free \- close a constant databased
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

int cdb_free(struct cdb *\fIc\fR);



+ 1
- 1
cdb/cdb_init.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_init \- open a constant database
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

int cdb_init(struct cdb *\fIc\fR,int \fIfd\fR);



+ 1
- 1
cdb/cdb_keylen.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_keylen \- get length of key
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

unsigned int cdb_keylen(struct cdb *\fIc\fR);



+ 1
- 1
cdb/cdb_keypos.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_keypos \- get position of key
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>

uint32 cdb_keypos(struct cdb *\fIc\fR);



+ 2
- 2
cdb/cdb_nextkey.3 View File

@@ -2,9 +2,9 @@
.SH NAME
cdb_nextkey \- find next physical record in constant database
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>
.br
.B #include <uint32.h>
.B #include <libowfat/uint32.h>

int cdb_nextkey(struct cdb *\fIc\fR,uint32 *\fIkpos\fR);



+ 2
- 2
cdb/cdb_read.3 View File

@@ -2,9 +2,9 @@
.SH NAME
cdb_read \- read bytes from a constant database
.SH SYNTAX
.B #include <cdb.h>
.B #include <libowfat/cdb.h>
.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);



+ 1
- 1
cdb/cdb_successor.3 View File

@@ -2,7 +2,7 @@
.SH NAME
cdb_successor \- find next record
.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);



+ 1
- 1
critbit/critbit0_allprefixed.3 View File

@@ -2,7 +2,7 @@
.SH NAME
critbit0_allprefixed \- search a critbit tree by prefix
.SH SYNTAX
.B #include <critbit.h>
.B #include <libowfat/critbit.h>

critbit0_tree cb = { 0 };



+ 1
- 1
critbit/critbit0_clear.3 View File

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

critbit0_tree cb = { 0 };



+ 1
- 1
critbit/critbit0_contains.3 View File

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

critbit0_tree cb = { 0 };



+ 1
- 1
critbit/critbit0_delete.3 View File

@@ -2,7 +2,7 @@
.SH NAME
critbit0_delete \- delete a string from a critbit tree
.SH SYNTAX
.B #include <critbit.h>
.B #include <libowfat/critbit.h>

critbit0_tree cb = { 0 };



+ 1
- 1
critbit/critbit0_insert.3 View File

@@ -2,7 +2,7 @@
.SH NAME
critbit0_insert \- insert a string into a critbit tree
.SH SYNTAX
.B #include <critbit.h>
.B #include <libowfat/critbit.h>

critbit0_tree cb = { 0 };



+ 1
- 1
dns/dns_ip4.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip4 \- look up IPv4 addresses
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip4\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION


+ 1
- 1
dns/dns_ip4_packet.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip4_packet \- extract IPv4 address from DNS answer packet
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip4_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR,
unsigned int \fIlen\fR);


+ 1
- 1
dns/dns_ip4_qualify.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip4_qualify \- qualify name and look up IPv4 addresses
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip4_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR,
const stralloc* \fIudn\fR);


+ 1
- 1
dns/dns_ip6.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip6 \- look up IPv6 addresses
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip6\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION


+ 1
- 1
dns/dns_ip6_packet.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip6_packet \- extract IPv6 address from DNS answer packet
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip6_packet\fP(stralloc* \fIout\fR,const char* \fIbuf\fR,
unsigned int \fIlen\fR);


+ 1
- 1
dns/dns_ip6_qualify.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_ip6_qualify \- qualify name and look up IPv6 addresses
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_ip6_qualify\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR,
const stralloc* \fIudn\fR);


+ 1
- 1
dns/dns_mx.3 View File

@@ -2,7 +2,7 @@
.SH NAME
dns_mx \- look up Mail eXchanger
.SH SYNTAX
.B #include <dns.h>
.B #include <libowfat/dns.h>

int \fBdns_mx\fP(stralloc* \fIout\fR,stralloc* \fIfqdn\fR);
.SH DESCRIPTION


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

Loading…
Cancel
Save