OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp_config.h versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp_config.h 1.5 -> 1.6

--- lmtp2nntp_config.h   2002/01/22 16:09:47     1.5
+++ lmtp2nntp_config.h   2002/01/24 12:04:46     1.6
@@ -21,67 +21,11 @@
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 **  USA, or contact the OSSP project <ossp@ossp.org>.
 **
-**  FIXME lmtp2nntp_option.h: LMTP to NNTP configuration parsing
+**  lmtp2nntp_config.h: config handling
 */
 
 #include "lmtp2nntp_global.h"
-#include "val.h"
-
-struct optionconfig_s;
-typedef struct optionconfig_s optionconfig_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*/
-    optionconfig_t     *first;
-    optionconfig_t     *last;
-    val_t              *vo;     /* val_t for all options */
-    int                 pi;     /* popt index to next record */
-    int                 pn;     /* popt number of available records */
-    struct popt_option *pt;     /* popt table */
-
-} lmtp2nntp_option_t;
-
-typedef enum {
-    OPTION_OK,
-    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 */
-} lmtp2nntp_option_rc_t;
-
-typedef enum {
-    OPT_FLAG,
-    OPT_SINGLE,
-    OPT_MULTI
-} optiontype_t;
-
-typedef lmtp2nntp_option_rc_t (optionloop_cb_t)(optionconfig_t *oc, char *arg, char *cbctx);
-lmtp2nntp_option_rc_t option_create  (lmtp2nntp_option_t **);
-lmtp2nntp_option_rc_t option_register(lmtp2nntp_option_t *, char *, char, optiontype_t, optionloop_cb_t *, char *, char *, char *);
-lmtp2nntp_option_rc_t option_parse   (lmtp2nntp_option_t *, int, char **);
-lmtp2nntp_option_rc_t option_destroy (lmtp2nntp_option_t *);
+#include "fixme.h"
+//#include "val.h"
+//void config_context(lmtp2nntp_t *);
+void config_context(lmtp2nntp_t *);

CVSTrac 2.0.1