1
2
3
4
5
6
 typedef enum {
    SAF_STRMODE_LIB=0,   /* library allocates *but* client frees (zero is the default) */
    SAF_STRMODE_CLIENT,  /* client allocates *and* client frees */
    SAF_STRMODE_POOL     /* library allocates *and* library frees using a least recently used strategy involving a pool
                          * of many strings */
 } SAF_StrMode