diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2012-07-22 01:07:01 +0200 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2012-07-22 01:07:01 +0200 |
commit | 547ccfb9f53485f8b56473f14cbde10cfcbeed07 (patch) | |
tree | ce5374560fcddd9645a49d321dc5cc5d9abcc9bd /glougloud/external/imsgev.h | |
parent | make it at least compile on linux. (diff) | |
download | glouglou-547ccfb9f53485f8b56473f14cbde10cfcbeed07.tar.xz glouglou-547ccfb9f53485f8b56473f14cbde10cfcbeed07.zip |
fix imcompatibility between imsg and imsgev !
during last commit, imsg was involontarily updated, and imsgev became
incompatible with it. so update imsgev to lastest version.
Diffstat (limited to '')
-rw-r--r-- | glougloud/external/imsgev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glougloud/external/imsgev.h b/glougloud/external/imsgev.h index 71163fb..a0d0947 100644 --- a/glougloud/external/imsgev.h +++ b/glougloud/external/imsgev.h @@ -30,6 +30,7 @@ struct imsgev { short events; int terminate; void (*callback)(struct imsgev *, int, struct imsg *); + void (*needfd)(struct imsgev *); }; #define IMSGEV_IMSG 0 @@ -39,7 +40,7 @@ struct imsgev { #define IMSGEV_EIMSG 4 void imsgev_init(struct imsgev *, int, void *, void (*)(struct imsgev *, - int, struct imsg *)); + int, struct imsg *), void (*)(struct imsgev *)); int imsgev_compose(struct imsgev *, u_int16_t, u_int32_t, u_int32_t, int, void *, u_int16_t); void imsgev_close(struct imsgev *); |