Header from folded patch 'cdump-avoid-fde.patch':
lca2011: ignore unknown tevent_fd fields.
printf("ccan/opt\n");
printf("ccan/array_size\n");
printf("ccan/tevent\n");
printf("ccan/opt\n");
printf("ccan/array_size\n");
printf("ccan/tevent\n");
+ printf("ccan/cdump\n");
#ifndef CCAN_OSERVER_TYPES_H
#define CCAN_OSERVER_TYPES_H
#include <stdlib.h>
#ifndef CCAN_OSERVER_TYPES_H
#define CCAN_OSERVER_TYPES_H
#include <stdlib.h>
+#include <ccan/cdump/cdump.h>
+CDUMP_SAVED enum state {
SENDING_GREETING,
RECEIVING_USER_QUESTION,
SENDING_OTHER_QUESTION_PREFIX,
SENDING_GREETING,
RECEIVING_USER_QUESTION,
SENDING_OTHER_QUESTION_PREFIX,
+CDUMP_SAVED struct client {
/* What are we doing today, brain? */
enum state state;
/* Our event info, and the file descriptor. */
/* What are we doing today, brain? */
enum state state;
/* Our event info, and the file descriptor. */
+ struct tevent_fd *fde CDUMP_IGNORE;
int fd;
/* The question we read from client. */
char *question;
int fd;
/* The question we read from client. */
char *question;
struct client *oracle;
};
struct client *oracle;
};
+CDUMP_SAVED struct oserver {
/* 5 clients should be enough for anybody! */
struct client *clients[5];
int fd;
/* 5 clients should be enough for anybody! */
struct client *clients[5];
int fd;
+ struct tevent_fd *fde CDUMP_IGNORE;
};
#endif /* CCAN_OSERVER_TYPES_H */
};
#endif /* CCAN_OSERVER_TYPES_H */