OSSP CVS Repository

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

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

--- lmtp2nntp_config.h   2002/01/21 16:21:16     1.4
+++ lmtp2nntp_config.h   2002/01/22 16:09:47     1.5
@@ -69,6 +69,7 @@
 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;
@@ -79,7 +80,7 @@
     OPT_MULTI
 } optiontype_t;
 
-typedef void (optionloop_cb_t)(optionconfig_t *oc, char *arg, char *cbctx);
+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 **);

CVSTrac 2.0.1