This commit is contained in:
whottgen 2004-10-17 20:06:58 +00:00
parent 40649c7d3c
commit 945dd84829

View File

@ -75,6 +75,15 @@ Obtaining configuration data
* Without default value:: * Without default value::
* With default value:: * With default value::
More or less useful stuff
* count.h::
* queue.h::
* htdns.h::
* htmalloc.h::
* smtp.h::
* safe_write.h::
@end detailmenu @end detailmenu
@end menu @end menu
@ -584,7 +593,16 @@ is not mentioned in the configuration file.
The functions of the library are discussed here for each of the header files. The functions of the library are discussed here for each of the header files.
@node @menu
* count.h::
* queue.h::
* htdns.h::
* htmalloc.h::
* smtp.h::
* safe_write.h::
@end menu
@node count.h, queue.h, More or less useful stuff, More or less useful stuff
@subsection @code{count.h} @subsection @code{count.h}
This is a threadsafe counter, wrapped around an @code{int}. This is a threadsafe counter, wrapped around an @code{int}.
@ -602,7 +620,7 @@ int count_get(count_t *c);
@end verbatim @end verbatim
@node @node queue.h, htdns.h, count.h, More or less useful stuff
@subsection @code{queue.h} @subsection @code{queue.h}
This is a threadsafe queue. Pointers to anything (@code{void}) can be This is a threadsafe queue. Pointers to anything (@code{void}) can be
@ -620,7 +638,7 @@ void *queue_get_wait(ht_queue_t *q);
@end verbatim @end verbatim
@node @node htdns.h, htmalloc.h, queue.h, More or less useful stuff
@subsection @code{htdns.h} @subsection @code{htdns.h}
This is a wrapper around the resolver library selected at build time This is a wrapper around the resolver library selected at build time
@ -640,7 +658,7 @@ For details on the data types look into the header file.
Don't forget to free anything you got using @code{free_rrs}. Don't forget to free anything you got using @code{free_rrs}.
@node @node htmalloc.h, smtp.h, htdns.h, More or less useful stuff
@subsection @code{htmalloc.h} @subsection @code{htmalloc.h}
This provides variants of @code{malloc}, @code{realloc} and This provides variants of @code{malloc}, @code{realloc} and
@ -654,7 +672,7 @@ char *htstrdup(const char *s);
@end verbatim @end verbatim
@node @node smtp.h, safe_write.h, htmalloc.h, More or less useful stuff
@subsection @code{smtp.h} @subsection @code{smtp.h}
This is a simple smtp library, also useable for lmtp. This is a simple smtp library, also useable for lmtp.
@ -687,7 +705,7 @@ int smtp_quit(smtp_t *handle);
Note: @code{host_address} in @code{smtp_init2} is a quad-dotted IP Note: @code{host_address} in @code{smtp_init2} is a quad-dotted IP
address, no hostname. address, no hostname.
@node @node safe_write.h, , smtp.h, More or less useful stuff
@subsection @code{safe_write.h} @subsection @code{safe_write.h}