X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libustcomm%2Fustcomm.h;h=f96ca16783677b36c6d81f6356c1cacb298c646d;hb=0c0686eefbf60682c54bc4b3c0bc593250deedc1;hp=e7e73621dc4c74244dadd80c1870cf07cb9dbb7b;hpb=ce2ccc12dddef07259e349d0b10504585ce6ee20;p=ust.git diff --git a/libustcomm/ustcomm.h b/libustcomm/ustcomm.h index e7e7362..f96ca16 100644 --- a/libustcomm/ustcomm.h +++ b/libustcomm/ustcomm.h @@ -22,7 +22,7 @@ #include #include -#include "kcompat.h" +#include #include "multipoll.h" #define SOCK_DIR "/tmp/ust-app-socks" @@ -84,7 +84,7 @@ extern int ustcomm_send_request(struct ustcomm_connection *conn, const char *req extern int ustcomm_send_reply(struct ustcomm_server *server, char *msg, struct ustcomm_source *src); extern int ustcomm_disconnect(struct ustcomm_connection *conn); extern int ustcomm_close_all_connections(struct ustcomm_server *server); -extern void ustcomm_mp_add_app_clients(struct mpentries *ent, struct ustcomm_app *app, int (*cb)(struct ustcomm_connection *conn, char *msg)); +extern void ustcomm_mp_add_app_clients(struct mpentries *ent, struct ustcomm_app *app, int (*cb)(char *recvbuf, struct ustcomm_source *src)); extern int nth_token_is(const char *str, const char *token, int tok_no);