- Timestamp:
- 2015-02-20T22:50:54Z (9 years ago)
- Branches:
- master
- Children:
- 0b9daac, 3d45471, 7733b8c
- Parents:
- af359b4
- git-author:
- Indent <please@…> (19-02-15 05:47:20)
- git-committer:
- dequis <dx@…> (20-02-15 22:50:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
query.h
raf359b4 r5ebff60 1 1 /********************************************************************\ 2 2 * BitlBee -- An IRC to other IM-networks gateway * 3 3 * * … … 27 27 #define _QUERY_H 28 28 29 typedef void (*query_callback) ( void *data);29 typedef void (*query_callback) (void *data); 30 30 31 typedef struct query 32 { 31 typedef struct query { 33 32 struct im_connection *ic; 34 33 char *question; … … 38 37 } query_t; 39 38 40 query_t *query_add( 41 42 void *data);43 void query_del( irc_t *irc, query_t *q);44 void query_del_by_conn( irc_t *irc, struct im_connection *ic);45 void query_answer( irc_t *irc, query_t *q, int ans);39 query_t *query_add(irc_t *irc, struct im_connection *ic, char *question, 40 query_callback yes, query_callback no, query_callback free, 41 void *data); 42 void query_del(irc_t *irc, query_t *q); 43 void query_del_by_conn(irc_t *irc, struct im_connection *ic); 44 void query_answer(irc_t *irc, query_t *q, int ans); 46 45 47 46 #endif
Note: See TracChangeset
for help on using the changeset viewer.