ossp-pkg/lmtp2nntp/lmtp2nntp_option.h 1.5 -> 1.6
--- lmtp2nntp_option.h 2002/02/14 10:47:20 1.5
+++ lmtp2nntp_option.h 2002/03/06 14:25:39 1.6
@@ -34,34 +34,8 @@
typedef struct optionval_s optionval_t;
typedef struct {
- int childsmax;
- int daemonize;
- int kill;
- char *pidfile;
- argz_t acl;
- char *bind;
- char *client;
- argz_t destination;
- char *groupmode;
- argz_t headervalue;
- argz_t include;
- char *size;
- int *timeoutlmtpaccept;
- int *timeoutlmtpread;
- int *timeoutlmtpwrite;
- int *timeoutnntpconnect;
- int *timeoutnntpread;
- int *timeoutnntpwrite;
- char *mailfrom;
- char *nodename;
- char *operationmode;
- char *l2spec;
- char *uid;
- argz_t restrictheader;
- argz_t newsgroup;
- /*FIXME above*/
- optionval_t *first;
- optionval_t *last;
+ optionval_t *first;
+ optionval_t *last;
val_t *vo; /* val_t for all options */
int pi; /* popt index to next record */
int pn; /* popt number of available records */
@@ -80,7 +54,8 @@
OPTION_ERR_ARG, /* invalid args passed into function */
OPTION_ERR_USE, /* invalid usage, bad data passed into function */
OPTION_ERR_MEM, /* out of memory */
- OPTION_ERR_VAL /* libval failed */
+ OPTION_ERR_VAL, /* libval failed */
+ OPTION_ERR_NUM /* option_find not successful */
} lmtp2nntp_option_rc_t;
typedef lmtp2nntp_option_rc_t (optionloop_cb_t)(optionval_t *oc, char *arg, char *cbctx);
|
|