str_t

3

str_t

data structure for string representation

    #include <cds/sstr.h>

    outside of SIP Express Router:

    typedef struct {
    	char *s;
    	int len;
    } str_t;

    inside of SIP Express Router:

    typedef str str_t;

## Description

This structure represents string. If compiled with SER it is defined using SER string defined elsewhere:

    typedef str str_t;

Otherwise it is defined as structure containing pointer to data buffer and length of this buffer.

## See Also

str_dup, str_clear, str_free_content, str_free str_other