ossp-pkg/lmtp2nntp/lmtp2nntp_nntp.h 1.5 -> 1.6
--- lmtp2nntp_nntp.h 2003/01/30 19:42:13 1.5
+++ lmtp2nntp_nntp.h 2003/02/06 13:50:08 1.6
@@ -34,19 +34,6 @@
#include <unistd.h>
#include <fcntl.h>
-#include "lmtp2nntp_msg.h"
-
-/*FIXME see include below
-struct nntp_st;
-typedef struct nntp_st nntp_t;
-*/
-
-typedef struct {
- void *ctx;
- ssize_t (*read)(void *, void *, size_t);
- ssize_t (*write)(void *, const void *, size_t);
-} nntp_io_t;
-
typedef enum {
NNTP_OK,
NNTP_EOF,
@@ -60,8 +47,15 @@
NNTP_ERR_UNKNOWN
} nntp_rc_t;
-/*FIXME see fixme above */
-#include "lmtp2nntp_common.h"
+struct nntp_st;
+typedef struct nntp_st nntp_t;
+#include "lmtp2nntp_msg.h"
+
+typedef struct {
+ void *ctx;
+ ssize_t (*read)(void *, void *, size_t);
+ ssize_t (*write)(void *, const void *, size_t);
+} nntp_io_t;
typedef struct {
int fd;
|
|