OSSP CVS Repository

ossp - ossp-pkg/lmtp2nntp/lmtp2nntp_map.h
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/lmtp2nntp/lmtp2nntp_map.h

enum {
    VAR_TYPE_PTR    = 1<<1,
    VAR_TYPE_CHAR   = 1<<2,
    VAR_TYPE_SHORT  = 1<<3,
    VAR_TYPE_INT    = 1<<4,
    VAR_TYPE_LONG   = 1<<5,
    VAR_TYPE_FLOAT  = 1<<6,
    VAR_TYPE_DOUBLE = 1<<7
};

var_rc_t var_create  (var_t *var);
var_rc_t var_destroy (var_t *var);
var_rc_t var_reg     (var_t *var, const char *name, int type, void *storage);
var_rc_t var_set     (var_t *var, const char *name, ...);
var_rc_t var_get     (var_t *var, const char *name, ...);


CVSTrac 2.0.1