53 }
else if (refcount > 1) {
data structures and prototypes for the session manager
void feature_unregister(sm_t sm, const char *feature)
unregister feature
session manager global context
void xhash_put(xht h, const char *key, void *val)
void xhash_zap(xht h, const char *key)
void feature_register(sm_t sm, const char *feature)
register a feature
pool_t xhash_pool(xht h)
get our pool
char * pstrdup(pool_t p, const char *src)
XXX efficient: move this to const char * and then loop throug the existing heaps to see if src is wit...
void * xhash_get(xht h, const char *key)
xht features
feature index (key is feature string