Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 pagecache_it_DECLARE, pagecache_it
 pagecache_maincontext, maincontext_t
 pagesize_vm
 pagesizeinbytes_pagecacheit, pagecache_it
 pagesizeinbytes_queue, queue_t
 pamerr2errno_sysuser
 parse_contentversion3_textresourcereader, textresource_reader_t
 parse_header_textresourcereader, textresource_reader_t
 parse_outconfigC_utf8reader, textresource_reader_t
 parse_outconfigCtable_utf8reader, textresource_reader_t
 parse_version_textresourcereader, textresource_reader_t
 parsechar_csvfilereaderparsestate, csvfilereader_parsestate_t
 parsedatafield_csvfilereaderparsestate, csvfilereader_parsestate_t
 parsenrcolumns_csvfilereaderparsestate, csvfilereader_parsestate_t
 passwd_url, url_t
 path_directory, directory_t
 path_url, url_t
 pcontext_maincontext, maincontext_t
 peek_convertwchar, convert_wchar_t
 peekascii_utf8reader, utf8reader_t
 peekasciiatoffset_utf8reader, utf8reader_t
 peekbyte_utf8scanner
 peekutf8_stringstream, stringstream_t
 pop_binarystack, binarystack_t
 pop2_binarystack, binarystack_t
 port_ipaddr, ipaddr_t
 port_url, url_t
 pos_window, window_t
 pos_x11window, x11window_t
 power10_decimalhelper
 prefetchdata_hwcache, hwcache_t
 prefix_trienode, trie_node_t
 prepare_malloc
 preparerun_syncrun
 preparewakeup_syncrun
 prev_dlist, dlist_t
 prev_dlistiterator, dlist_iterator_t
 prev_patriciatrieiterator, patriciatrie_iterator_t
 prev_redblacktreeiterator, redblacktree_iterator_t
 prev_splaytreeiterator, splaytree_iterator_t
 prevlastcolumn_textpos, textpos_t
 print_error
 print_usage
 print_version
 printf_logbuffer, logbuffer_t
 printf_logwriter, logwriter_t
 printfappend_cstring, cstring_t
 printheader_logbuffer, logbuffer_t
 printtext_logwriter, logwriter_t
 privileged_sysuser, sysuser_t
 process_testerrortimer, test_errortimer_t
 PROCESS_testerrortimer, test_errortimer_t
 progname_maincontext, maincontext_t
 protect_vmpage, vmpage_t
 protocol_ipsocket, ipsocket_t
 push_binarystack, binarystack_t
 push2_binarystack, binarystack_t
 pushnew_iterlist, suffixtreeiterator_adapter_it
void pagecache_it_DECLARE(TYPENAME declared_it,
TYPENAME pagecache_t)
Declares an interface function table for accessing pagecache.
Returns object interface pagecache_t to access functionality of pagecache_impl_t.
uint32_t pagesize_vm(void)
Returns the virtual memory page size supported by the underlying system.
size_t pagesizeinbytes_pagecacheit(pagesize_e pagesize)
Translates enum pagesize_e into size in bytes.
uint32_t pagesizeinbytes_queue(void)
Returns the static size of a memory page the queue uses.
static int pamerr2errno_sysuser(int pamerr)
Converts error codes from pam lib to errno error codes.
static int parse_contentversion3_textresourcereader(
   textresource_reader_t *reader
)
Parses content of “textresource version=’3’ /textresource”.
static int parse_header_textresourcereader(textresource_reader_t *reader)
Parses all header information.
static int parse_outconfigC_utf8reader(textresource_reader_t *reader)
Parses control information for generated output.
static int parse_outconfigCtable_utf8reader(textresource_reader_t *reader)
Parses control information for generated output.
static int parse_version_textresourcereader(textresource_reader_t *reader)
Skips comments until “textresource version=’4’” is found.
static int parsechar_csvfilereaderparsestate(csvfilereader_parsestate_t *state,
uint8_t chr)
Expects the next character to be of value chr.
static int parsedatafield_csvfilereaderparsestate(
   csvfilereader_parsestate_t *state,
   /*out*/string_t *value
)
Parses value between two double quotes.
static int parsenrcolumns_csvfilereaderparsestate(
   csvfilereader_parsestate_t *state,
   /*out*/size_t *nrcolumns
)
Counts the number of data fields of the first line.
const char * passwd_url(const url_t *url)
Returns password or NULL if undefined.
int path_directory(const directory_t *dir,
/*ret*/struct wbuffer_t *path)
Returns absolute real path of directory dir in path.
const char * path_url(const url_t *url)
Returns password or NULL if undefined.
processcontext_t * pcontext_maincontext(void)
Returns processcontext_t of the current process.
extern int peek_convertwchar(const convert_wchar_t *conv,
size_t char_count,
wchar_t *wchar_array)
Converts the next char_count characters without modifying conv.
int peekascii_utf8reader(const utf8reader_t *utfread,
uint8_t *nextascii)
Returns next ascii character.
int peekasciiatoffset_utf8reader(const utf8reader_t *utfread,
size_t offset,
uint8_t *nextascii)
Returns next ascii character with an offset if offset bytes.
Implements utf8scanner_t.peekbyte_utf8scanner.
uint8_t peekbyte_utf8scanner(utf8scanner_t *scan,
size_t offset)
Returns any byte from the buffer without changing the read pointer.
int peekutf8_stringstream(const struct stringstream_t *strstream,
/*out*/char32_t *uchar)
Same as nextutf8_stringstream except the strstream is not changed.
int pop_binarystack(binarystack_t *stack,
size_t size)
Removes the last pushed object from the stack.
int pop2_binarystack(binarystack_t *stack,
size_t size)
Same functionality as pop_binarystack.
ipport_t port_ipaddr(const ipaddr_t *addr)
Returns the port number of the address.
const char * port_url(const url_t *url)
Returns port or NULL if undefined.
int pos_window(const window_t *win,
/*out*/int32_t *screen_x,
/*out*/int32_t *screen_y)
Returns the position of the window in screen coordinates.
int pos_x11window(const x11window_t *x11win,
/*out*/int32_t *screen_x,
/*out*/int32_t *screen_y)
Returns the position of the window in screen coordinates.
static inline uint32_t power10_decimalhelper(unsigned exponent)
Calculates pow(10, exponent) for 0 <= exponent <= 9.
void prefetchdata_hwcache(void *addr)
Prefetches data into all levels of hw cache.
static inline uint8_t * prefix_trienode(trie_node_t *node)
Returns ptr to digit array.
int prepare_malloc(void)
Inits test of system-malloc.
static inline int preparerun_syncrun(syncrun_t *srun,
syncthread_t *running_thread)
Sets all values in srun->running (syncrun_t.running).
static inline void preparewakeup_syncrun(syncrun_t *srun,
void *continuelabel,
int retcode)
Sets all values in srun->wakeup (syncrun_t.wakeup).
struct dlist_node_t * prev_dlist(struct dlist_node_t *node)
Returns the node coming before this node.
bool prev_dlistiterator(dlist_iterator_t *iter,
/*out*/struct dlist_node_t **node)
Returns all elements from last to first node of list.
bool prev_patriciatrieiterator(patriciatrie_iterator_t *iter,
/*out*/patriciatrie_node_t **node)
Returns next node of tree in descending order.
bool prev_redblacktreeiterator(redblacktree_iterator_t *iter,
/*out*/redblacktree_node_t **node)
Returns next node of tree in descending order.
bool prev_splaytreeiterator(splaytree_iterator_t *iter,
/*out*/splaytree_node_t **node)
Returns next node of tree in descending order.
size_t prevlastcolumn_textpos(const textpos_t *txtpos)
Returns the column number of the last character of the previous line (number).
static void print_error(const char *format,
 ...)
Prints formatted error string.
static void print_usage(void)
Prints usage information.
static void print_version(void)
Prints version information
void printf_logbuffer(
   logbuffer_t *logbuf,
   const char *format,
    ...
) __attribute__ ((__format__ (__printf__, 2, 3)))
Writes new log entry to log buffer.
void printf_logwriter(
   logwriter_t *lgwrt,
   uint8_t channel,
   uint8_t flags,
   const struct log_header_t *header,
   const char *format,
    ...
) __attribute__ ((__format__ (__printf__, 5, 6)))
Writes new log entry to internal buffer.
int printfappend_cstring(
   cstring_t *cstr,
   const char *format,
    ...
) __attribute__ ((__format__ (__printf__, 2, 3)))
Appends printf formatted string to cstr.
void printheader_logbuffer(logbuffer_t *logbuf,
const struct log_header_t *header)
Appends header to log buffer.
void printtext_logwriter(logwriter_t *lgwrt,
uint8_t channel,
uint8_t flags,
const struct log_header_t *header,
log_text_f textf,
 ...)
Writes a text resource to internal buffer.
sysuser_id_t privileged_sysuser(sysuser_t *sysusr)
Returns sysuser_id_t of the user which has other privileges.
int process_testerrortimer(test_errortimer_t *errtimer)
Returns error if timer has elapsed else 0.
int PROCESS_testerrortimer(test_errortimer_t *errtimer)
This function calls <process_testerrortimer>(errtimer) and returns its value.
const char * progname_maincontext(void)
Returns the program name of the running process.
int protect_vmpage(vmpage_t *vmpage,
const accessmode_e access_mode)
Sets protection of memory (e.g.
uint16_t protocol_ipsocket(const ipsocket_t *ipsock)
Returns protocol ipprotocol_e of the socket.
int push_binarystack(binarystack_t *stack,
/*out*/void **lastpushed)
Allocates memory for new object and returns pointer to its start address.
int push2_binarystack(binarystack_t *stack,
uint32_t size,
/*out*/uint8_t **lastpushed)
Does same as push_binarystack but allocates a new block if necessary.
static suffixtree_iterator_t * pushnew_iterlist(slist_t *stack)
Creates new suffixtree_iterator_t and pushes onto suffixtreeiterator_list_t.
Close