Logo Search packages:      
Sourcecode: wireshark 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.

Defines

#define _STRINGIFY(a)   # a
#define g_ascii_isprint(c)   (((c<0x20)||(c>=0x80))?FALSE:TRUE)
#define g_ascii_isxdigit(c)
#define STRINGIFY(a)   _STRINGIFY(a)

Functions

GByteArray * byte_array_dup (GByteArray *ba)
gboolean byte_array_equal (GByteArray *ba1, GByteArray *ba2)
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)
char * epan_strcasestr (const char *haystack, const char *needle)
const guchar * find_line_end (const guchar *data, const guchar *dataend, const guchar **eol)
gchar * format_text (const guchar *line, int len)
gchar * format_text_wsp (const guchar *line, int len)
gchar * format_uri (const GByteArray *bytes, const gchar *reserved_chars)
GByteArray * g_byte_array_sized_new (guint reserved_size)
gsize g_strlcat (gchar *dst, const gchar *src, gsize size)
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size)
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)
gboolean oid_str_to_bytes (const char *oid_str, GByteArray *bytes)
gboolean uri_str_to_bytes (const char *uri_str, GByteArray *bytes)
gchar * xml_escape (const gchar *unescaped)


Generated by  Doxygen 1.6.0   Back to index