Logo Search packages:      
Sourcecode: ethereal version File versions

strutil.h File Reference

Detailed Description

String handling and conversion utilities.

Definition in file strutil.h.

Go to the source code of this file.


#define _STRINGIFY(a)   # a
#define STRINGIFY(a)   _STRINGIFY(a)


gchar * bytes_to_str (const guint8 *bd, int bd_len)
gchar * bytes_to_str_punct (const guint8 *bd, int bd_len, gchar punct)
char * convert_string_case (const char *string, gboolean case_insensitive)
guint8 * convert_string_to_hex (const char *string, size_t *nbytes)
const guint8 * epan_memmem (const guint8 *haystack, guint haystack_len, const guint8 *needle, guint needle_len)
const guchar * find_line_end (const guchar *data, const guchar *dataend, const guchar **eol)
gchar * format_text (const guchar *line, int len)
int get_token_len (const guchar *linep, const guchar *lineend, const guchar **next_token)
gboolean hex_str_to_bytes (const char *hex_str, GByteArray *bytes, gboolean force_separators)
gchar * xml_escape (const gchar *unescaped)

Generated by  Doxygen 1.6.0   Back to index