Changeset 3ddb7477 for protocols/user.h
- Timestamp:
- 2010-03-26T12:14:37Z (15 years ago)
- Branches:
- master
- Children:
- ebaebfe
- Parents:
- ba7d16f
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
protocols/user.h
rba7d16f r3ddb7477 23 23 Suite 330, Boston, MA 02111-1307 USA 24 24 */ 25 25 26 #ifndef __USER_H__ 26 27 #define __USER_H__ 27 28 28 typedefstruct __USER29 struct __USER 29 30 { 30 char *nick;31 char * user;32 char * host;33 char * realname;34 31 struct im_connection *ic; 32 char *handle; 33 char *fullname; 34 char *group; 35 35 36 char *away; 36 char *status_msg; /* Non-IRC extension, but nice on IM. */ 37 38 char is_private; 39 char online; 40 41 char *handle; 42 char *group; 43 struct im_connection *ic; 44 45 char *sendbuf; 46 time_t last_typing_notice; 47 int sendbuf_len; 48 guint sendbuf_timer; 49 int sendbuf_flags; 50 51 void (*send_handler) ( irc_t *irc, struct __USER *u, char *msg, int flags ); 52 53 struct __USER *next; 37 char *status_msg; 54 38 } user_t; 55 39 56 user_t *user_add( struct irc *irc, char *nick );57 int user_del( irc_t *irc, char *nick );58 G_MODULE_EXPORT user_t *user_find( irc_t *irc, char *nick );59 G_MODULE_EXPORT user_t *user_findhandle( struct im_connection *ic, const char *handle );60 void user_rename( irc_t *irc, char *oldnick, char *newnick );61 62 40 #endif /* __USER_H__ */
Note: See TracChangeset
for help on using the changeset viewer.