libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_tcflow_action (explain_string_buffer_t *sb, int data) |
int | explain_parse_tcflow_action_or_die (const char *text, const char *caption) |
void explain_buffer_tcflow_action | ( | explain_string_buffer_t * | sb, |
int | data | ||
) |
The explain_buffer_tcflow_action function may be used to print a representation of a tcflow action value.
sb | The string buffer to print into. |
data | The tcflow action value to be printed. |
Definition at line 56 of file tcflow_action.c.
int explain_parse_tcflow_action_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_tcflow_action_or_die function is used to parse a text value, to transform it into a tcflow action argument value.
text | The text string to be parsed. |
caption | Additinal information for error message. |
Definition at line 63 of file tcflow_action.c.