65 const guint8* stringstart;
66 const guint8* endplace;
67 const guint8* expectedplace;
71 if (self->value == NULL) {
74 length =
self->length;
75 stringstart =
self->value;
79 g_return_val_if_fail(NULL != tlvptr, FALSE);
80 g_return_val_if_fail(NULL != pktend, FALSE);
81 g_return_val_if_fail(length > 0, FALSE);
84 endplace = stringstart + length;
85 expectedplace = endplace-1;
86 return expectedplace == memchr(stringstart, 0x00, length);
94 return g_strdup_printf(
"CstringFrame(%d, \"%s\")"
95 , self->baseclass.type, (gchar*)self->baseclass.value);
112 baseframe =
frame_new(frame_type, framesize);
126 gconstpointer pktend)
133 g_return_val_if_fail(ret != NULL, NULL);