Package libowfat-devel

Development files for libowfat (Static library only)

http://www.fefe.de/libowfat/

This package contains libraries and header files for
developing applications that use libowfat.

Version: 0.30

Library Functions

array The array library interface
array_allocate make sure array has at least n elements allocated
array_bytes get number of allocated members in array
array_cat append one array to another
array_cat0 append 0 byte to an array
array_catb append bytes to an array
array_cate append subset of one array to another array
array_cats append C string to an array
array_cats0 append C string to an array
array_equal compare two arrays for equality
array_fail switch array to have failed
array_get get pointer to nth element in array
array_length get number of allocated members in array
array_reset deallocate array
array_start get pointer to first element in array
array_trunc reduce number of initialized bytes
array_truncate reduce number of initialized bytes
buffer generic read/write buffering
buffer_close close buffer
buffer_feed low-level component of buffer_get
buffer_flush feed buffer to write function
buffer_fromarray initialize buffer structure from array
buffer_frombuf initialize buffer structure from raw memory
buffer_fromsa initialize buffer structure from stralloc
buffer_get read binary data from buffer
buffer_get_new_token_sa read token from buffer
buffer_get_new_token_sa_pred read token from buffer
buffer_get_token read token from buffer
buffer_get_token_pred read token from buffer
buffer_get_token_sa read token from buffer
buffer_get_token_sa_pred read token from buffer
buffer_getc read one char from buffer
buffer_getline read line from buffer
buffer_getline_sa read line from buffer
buffer_getn read binary data from buffer
buffer_getnewline_sa read line from buffer
buffer_init initialize buffer structure
buffer_init_free initialize buffer structure
buffer_mmapread create read-only memory-mapped file buffer
buffer_peek return pointer to string in buffer
buffer_put write binary data to buffer
buffer_put8long write an octal ASCII representation of an unsigned long integer to buffer
buffer_putalign write binary data to buffer
buffer_puterror write error string to buffer and flush
buffer_puterror2 write error string to buffer and flush
buffer_putflush write binary data to buffer and flush
buffer_putlong write a decimal ASCII representation of a signed long integer to buffer
buffer_putlonglong write a decimal ASCII representation of a signed long integer to buffer
buffer_putm write ASCIIZ string(s) to buffer
buffer_putnlflush write '\n' to buffer and flush
buffer_puts write ASCIIZ string to buffer
buffer_putsa write stralloc to buffer
buffer_putsaflush write stralloc to buffer and flush
buffer_putsalign write ASCIIZ string to buffer
buffer_putsflush write ASCIIZ string to buffer and flush
buffer_putspace write ASCII space to buffer
buffer_putulong write a decimal ASCII representation of an unsigned long integer to buffer
buffer_putulonglong write a decimal ASCII representation of a signed long integer to buffer
buffer_putxlong write a hexidecimal ASCII representation of an unsigned long integer to buffer
buffer_seek remove bytes from beginning of string in buffer
buffer_tosa initialize buffer for writing to stralloc
byte_chr search for a byte in a string
byte_copy copy a string
byte_copyr copy a string
byte_diff compare two strings
byte_equal compare two strings
byte_rchr search for a byte in a string
byte_zero initialize a string
case_diffb compare strings case-insensitively
case_diffs compare strings case-insensitively
case_lowerb compare strings case-insensitively
case_lowers compare strings case-insensitively
case_starts compare prefixes of strings case-insensitively
cdb_datalen get length of data
cdb_datapos get position of data
cdb_find look up a key in a constant database
cdb_firstkey find first physical record in constant database
cdb_free close a constant databased
cdb_init open a constant database
cdb_keylen get length of key
cdb_keypos get position of key
cdb_nextkey find next physical record in constant database
cdb_read read bytes from a constant database
cdb_successor find next record
critbit0_allprefixed search a critbit tree by prefix
critbit0_clear free all memory associated with a critbit tree
critbit0_contains check whether a string is in the critbit tree
critbit0_delete delete a string from a critbit tree
critbit0_insert insert a string into a critbit tree
dns_ip4 look up IPv4 addresses
dns_ip4_packet extract IPv4 address from DNS answer packet
dns_ip4_qualify qualify name and look up IPv4 addresses
dns_ip6 look up IPv6 addresses
dns_ip6_packet extract IPv6 address from DNS answer packet
dns_ip6_qualify qualify name and look up IPv6 addresses
dns_mx look up Mail eXchanger
dns_mx_packet extract MX records from DNS answer packet
dns_name4 look up host name
dns_name4_domain construct host name for reverse lookup
dns_name6 look up host name
dns_name6_domain construct host name for reverse lookup
dns_name_packet extract names from DNS answer packet
dns_txt look up TXT records
dns_txt_packet extract TXT records from DNS answer packet
fmt_8long write an octal ASCII representation of an unsigned long integer
fmt_asn1derlength encode unsigned integer like ASN.1 DER length
fmt_asn1dertag encode unsigned integer like ASN.1 DER tag
fmt_double write an ASCII representation of a double
fmt_fill append spaces to a string
fmt_httpdate write a date in ASCII as in the HTTP protocol
fmt_human write a human readable ASCII representation of a long integer
fmt_humank write a human readable ASCII representation of a long integer
fmt_ip4 write a formatted ASCII representation of an IPv4 number
fmt_ip6 write a formatted ASCII representation of an IPv6 number
fmt_ip6_flat write a formatted ASCII representation of an IPv6 number
fmt_ip6c write a formatted ASCII representation of an IPv6 number
fmt_ip6if write a formatted ASCII representation of an IPv6 number
fmt_ip6ifc write a formatted ASCII representation of an IPv6 number
fmt_long write an ASCII representation of a long integer
fmt_longlong write an ASCII representation of a long long integer
fmt_minus write '-' for negative integers
fmt_pad pad a string with spaces.
fmt_plusminus write '+' or '-'
fmt_str write an ASCII string
fmt_strm write multiple ASCII strings
fmt_strn write an ASCII string
fmt_uint write an ASCII representation of an unsigned integer
fmt_uint0 write a zero-padded ASCII representation of an unsigned integer
fmt_ulong write an ASCII representation of an unsigned long integer
fmt_ulong0 write a zero-padded ASCII representation of an unsigned long integer
fmt_ulonglong write an ASCII representation of an unsigned long long integer
fmt_utf8 encode 31-bit unsigned integer using UTF-8 rules
fmt_xlong write a hexadecimal ASCII representation of an unsigned long integer
fmt_xlonglong write a hexadecimal ASCII representation of an unsigned long long integer
iarray_allocate get pointer to nth element in iarray
iarray_free free iarray data structure
iarray_get get pointer to nth element in iarray
iarray_init initialize iarray data structure
imult16 integer multiplication with overflow checking
imult32 integer multiplication with overflow checking
imult64 integer multiplication with overflow checking
io_appendfile open a file for appending
io_block switch to blocking I/O
io_canread return a file descriptor that can be read from
io_canwrite return a file descriptor that can be written to
io_check check for new readable or writable descriptors
io_close close a file descriptor
io_closeonexec mark a file descriptor non-inheritable
io_createfile create a file
io_dontwantread signal that you do not want to read from a descriptor
io_dontwantwrite signal that you do not want to write to a descriptor
io_eagain tell io_wait that you got an EAGAIN
io_fd prepare descriptor for io_wait
io_fd_canwrite prepare descriptor for io_wait
io_fd_flags prepare descriptor for io_wait
io_finishandshutdown deallocate internal data structures
io_getcookie retrieve cookie
io_nonblock switch to non-blocking I/O
io_passfd pass a file descriptor over a Unix Domain socket
io_pipe create a Unix pipe
io_readfile open a file for reading
io_readwritefile open a file for reading and writing
io_receivefd receive a file descriptor over a Unix Domain socket
io_sendfile send data from a file to a socket
io_setcookie associate cookie with descriptor
io_socketpair create a pair of sockets
io_timeout set time limit on descriptor
io_timeouted return a file descriptor over deadline
io_tryread read from a descriptor without blocking
io_tryreadtimeout read from a descriptor without blocking
io_trywrite write to a descriptor without blocking
io_trywritetimeout write to a descriptor without blocking
io_wait wait for events
io_waitread read from a descriptor
io_waituntil wait for events
io_wantread signal that you want to read from a descriptor
io_wantwrite signal that you want to write to a descriptor
iob_addbuf add buffer to I/O batch
iob_addbuf_free add buffer to I/O batch, with deallocation
iob_addfile add file region to I/O batch
iob_addfile_close add file region to I/O batch
iob_adds add buffer to I/O batch
iob_adds_free add buffer to I/O batch
iob_bytesleft how many bytes are still to be sent?
iob_free free an I/O batch
iob_new create new I/O batch
iob_prefetch prefetch data for I/O batch
iob_reset reset an I/O batch
iob_send send I/O batch
iob_write send I/O batch through callback
iopause
mmap_private memory map a file for reading and writing
mmap_read memory map a file for reading
mmap_shared memory map a file for reading and writing
mmap_unmap unmap an existing memory mapping
ndelay_off put file descriptor in non-blocking mode
ndelay_on put file descriptor in non-blocking mode
open_append open a file for appending
open_excl open a file for exclusive writing
open_read open a file for reading
open_rw open a file for reading and writing
open_trunc open a file for writing
open_write open a file for writing
openreadclose read a whole file into a stralloc
range_arrayinbuf range check for array in buffer
range_bufinbuf range check for buf in buffer
range_ptrinbuf range check pointer in buffer
range_str2inbuf range check for string in buffer
range_str4inbuf range check for string in buffer
range_strinbuf range check for string in buffer
range_validbuf range check buffer
rangecheck pointer range checking
readclose read a whole file into a stralloc
readclose_append read a whole file into a stralloc
scan_8int parse an unsigned integer in octal ASCII representation
scan_8long parse an unsigned long integer in octal ASCII representation
scan_8short parse an unsigned short integer in octal ASCII representation
scan_asn1derlength decode an unsigned integer from ASN.1 DER length encoding
scan_asn1derlengthvalue decode an unsigned integer from ASN.1 DER length encoding
scan_asn1dertag decode an unsigned integer from ASN.1 DER length encoding
scan_charsetnskip skip characters from set
scan_double parse a floating point number in decimal ASCII representation
scan_httpdate parse a HTTP date
scan_int parse an integer in decimal ASCII representation
scan_ip4 parse an IPv4 number in dotted-decimal notation
scan_ip6 parse an IPv6 number in ASCII representation
scan_ip6_flat parse an IPv6 number in flat ASCII representation
scan_ip6if parse an IPv6 number and interface in ASCII representation
scan_long parse an long integer in decimal ASCII representation
scan_longlong parse a long integer in decimal ASCII representation
scan_noncharsetnskip skip characters not from set
scan_nonwhitenskip skip non-whitespace
scan_plusminus parse '+' or '-'
scan_short parse an integer in decimal ASCII representation
scan_uint parse an unsigned integer in decimal ASCII representation
scan_ulong parse an unsigned long integer in decimal ASCII representation
scan_ulonglong parse an unsigned long integer in decimal ASCII representation
scan_ushort parse an unsigned short integer in decimal ASCII representation
scan_utf8 decode an unsigned integer from UTF-8 encoding
scan_whitenskip skip whitespace
scan_xint parse an unsigned integer in hexadecimal ASCII representation
scan_xlong parse an unsigned long integer in hexadecimal ASCII representation
scan_xlonglong parse an unsigned long long integer in hexadecimal ASCII representation
scan_xshort parse an unsigned short integer in hexadecimal ASCII representation
socket_accept4 accept an IPv4 TCP connection on a socket
socket_accept6 accept an IPv6 TCP connection on a socket
socket_bind4 set the local IP address and port of a socket
socket_bind4_reuse set the local IP address and port of a socket
socket_bind6 set the local IP address and port of a socket
socket_bind6_reuse set the local IP address and port of a socket
socket_broadcast set UDP socket to broadcast mode
socket_connect4 attempt to make a TCP connection
socket_connect6 attempt to make a TCP connection
socket_connected is a connection established on a socket?
socket_fastopen enable TCP Fast Open on a server-side TCP socket
socket_fastopen_connect4 make a TCP connection and send some data
socket_fastopen_connect6 make a TCP connection and send some data
socket_getifidx get interface number
socket_getifname get interface name
socket_listen attempt to make a TCP connection
socket_local4 get local IP address of socket
socket_local6 get local IP address of socket
socket_mchopcount6 set multicast hop count
socket_mcjoin4 join a multicast group
socket_mcjoin6 join a multicast group
socket_mcleave4 leave a multicast group
socket_mcleave6 leave a multicast group
socket_mcloop4 set multicast loopback
socket_mcloop6 set multicast loopback
socket_mcttl4 set multicast ttl
socket_quickack turn TCP Quick ACK mode on or off
socket_recv4 receive a UDP datagram
socket_recv6 receive a UDP datagram
socket_remote4 get remote IP address of socket
socket_remote6 get remote IP address of socket
socket_sctp4 create a non-blocking SCTP/IP stream socket
socket_sctp4b create a blocking SCTP/IP stream socket
socket_sctp6 create a non-blocking IPv6 SCTP/IP stream socket
socket_sctp6b create a blocking IPv6 SCTP/IP stream socket
socket_send4 send a UDP datagram
socket_send6 send a UDP datagram
socket_tcp4 create a non-blocking TCP/IP stream socket
socket_tcp4b create a blocking TCP/IP stream socket
socket_tcp6 create a non-blocking IPv6 TCP/IP stream socket
socket_tcp6b create a blocking IPv6 TCP/IP stream socket
socket_udp4 create a non-blocking UDP/IP datagram socket
socket_udp6 create a non-blocking IPv6 UDP/IP datagram socket
str_chr find character in ASCIIZ string
str_copy copy an ASCIIZ string
str_diff compare two ASCIIZ strings
str_diffn compare two ASCIIZ strings
str_equal compare two ASCIIZ strings
str_len find length of ASCIIZ string
str_rchr find character in ASCIIZ string
str_start compare prefixes of strings
stralloc_0 append \0 to a stralloc
stralloc_append append a character to a stralloc
stralloc_cat append data to a stralloc
stralloc_catb append data to a stralloc
stralloc_catlong0 append an integer to a stralloc
stralloc_catm append string(s) to a stralloc
stralloc_cats append data to a stralloc
stralloc_catulong0 append an integer to a stralloc
stralloc_chomp remove trailing CR, LF or CRLF
stralloc_chop remove and return last char
stralloc_copy copy data into a stralloc
stralloc_copyb copy data into a stralloc
stralloc_copym copy string(s) to a stralloc
stralloc_copys copy data into a stralloc
stralloc_diff compare two strallocs
stralloc_diffs check if string is prefix of stralloc
stralloc_free free storage associated with a stralloc
stralloc_init initialize a stralloc
stralloc_ready provide space in a stralloc
stralloc_readyplus provide space in a stralloc
stralloc_starts check if string is prefix of stralloc
stralloc_zero set length of stralloc to 0
tai_add add two struct tai
tai_approx return double-precision approximation
tai_less compare two struct tai
tai_now get current time
tai_pack convert to external TAI64 format
tai_sub subtract two struct tai
tai_unpack convert to external TAI64 format
taia_add add two struct taia
taia_addsec add n seconds to a struct taia
taia_approx return double-precision approximation
taia_frac get current time
taia_less compare two struct taia
taia_now get current time
taia_pack convert to external TAI64NA format
taia_sub subtract two struct taia
taia_tai get current time
taia_uint convert seconds into struct taia
taia_unpack convert to external TAI64NA format
uint16_pack write an unsigned little-endian 16-bit integer
uint16_pack_big write an unsigned big-endian 16-bit integer
uint16_read read an unsigned little-endian 16-bit integer
uint16_read_big read an unsigned big-endian 16-bit integer
uint16_unpack read an unsigned little-endian 16-bit integer
uint16_unpack_big read an unsigned big-endian 16-bit integer
uint32_pack write an unsigned little-endian 32-bit integer
uint32_pack_big write an unsigned big-endian 32-bit integer
uint32_read read an unsigned little-endian 32-bit integer
uint32_read_big read an unsigned big-endian 32-bit integer
uint32_unpack read an unsigned little-endian 32-bit integer
uint32_unpack_big read an unsigned big-endian 32-bit integer
uint64_pack write an unsigned little-endian 64-bit integer
uint64_pack_big write an unsigned big-endian 64-bit integer
uint64_read read an unsigned little-endian 64-bit integer
uint64_read_big read an unsigned big-endian 64-bit integer
uint64_unpack read an unsigned little-endian 64-bit integer
uint64_unpack_big read an unsigned big-endian 64-bit integer
umult16 integer multiplication with overflow checking
umult32 integer multiplication with overflow checking
umult64 integer multiplication with overflow checking