Changeset 5e202b0 for protocols/jabber/jabber.h
- Timestamp:
- 2006-09-23T16:18:24Z (18 years ago)
- Branches:
- master
- Children:
- 172a73f1
- Parents:
- d8e0484
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.h
rd8e0484 r5e202b0 39 39 } jabber_flags_t; 40 40 41 /* iq.c */42 xt_status jabber_pkt_iq( struct xt_node *node, gpointer data );43 int jabber_start_iq_auth( struct gaim_connection *gc );44 int jabber_get_roster( struct gaim_connection *gc );45 46 xt_status jabber_pkt_message( struct xt_node *node, gpointer data );47 48 /* presence.c */49 xt_status jabber_pkt_presence( struct xt_node *node, gpointer data );50 int presence_announce( struct gaim_connection *gc );51 int presence_send( struct gaim_connection *gc, char *to, char *show, char *status );52 53 /* jabber_util.c */54 char *set_eval_resprio( set_t *set, char *value );55 char *set_eval_tls( set_t *set, char *value );56 struct xt_node *jabber_make_packet( char *name, char *type, char *to, struct xt_node *children );57 void jabber_cache_packet( struct gaim_connection *gc, struct xt_node *node );58 struct xt_node *jabber_packet_from_cache( struct gaim_connection *gc, char *id );59 60 /* io.c */61 int jabber_write_packet( struct gaim_connection *gc, struct xt_node *node );62 int jabber_write( struct gaim_connection *gc, char *buf, int len );63 gboolean jabber_connected_plain( gpointer data, gint source, b_input_condition cond );64 gboolean jabber_start_stream( struct gaim_connection *gc );65 void jabber_end_stream( struct gaim_connection *gc );66 67 /* sasl.c */68 xt_status sasl_pkt_mechanisms( struct xt_node *node, gpointer data );69 xt_status sasl_pkt_challenge( struct xt_node *node, gpointer data );70 xt_status sasl_pkt_result( struct xt_node *node, gpointer data );71 gboolean sasl_supported( struct gaim_connection *gc );72 73 41 struct jabber_data 74 42 { … … 86 54 char *username; /* USERNAME@server */ 87 55 char *server; /* username@SERVER -=> server/domain, not hostname */ 56 struct jabber_away_state *away_state; 57 char *away_message; 88 58 89 59 struct xt_node *node_cache; 90 60 }; 91 61 62 struct jabber_away_state 63 { 64 char code[5]; 65 char *full_name; 66 }; 67 68 /* iq.c */ 69 xt_status jabber_pkt_iq( struct xt_node *node, gpointer data ); 70 int jabber_start_iq_auth( struct gaim_connection *gc ); 71 int jabber_get_roster( struct gaim_connection *gc ); 72 73 xt_status jabber_pkt_message( struct xt_node *node, gpointer data ); 74 75 /* presence.c */ 76 xt_status jabber_pkt_presence( struct xt_node *node, gpointer data ); 77 int presence_send( struct gaim_connection *gc, char *to, char *show, char *status ); 78 79 /* jabber_util.c */ 80 char *set_eval_resprio( set_t *set, char *value ); 81 char *set_eval_tls( set_t *set, char *value ); 82 struct xt_node *jabber_make_packet( char *name, char *type, char *to, struct xt_node *children ); 83 void jabber_cache_packet( struct gaim_connection *gc, struct xt_node *node ); 84 struct xt_node *jabber_packet_from_cache( struct gaim_connection *gc, char *id ); 85 const struct jabber_away_state *jabber_away_state_by_code( char *code ); 86 const struct jabber_away_state *jabber_away_state_by_name( char *name ); 87 88 extern const struct jabber_away_state jabber_away_state_list[]; 89 90 /* io.c */ 91 int jabber_write_packet( struct gaim_connection *gc, struct xt_node *node ); 92 int jabber_write( struct gaim_connection *gc, char *buf, int len ); 93 gboolean jabber_connected_plain( gpointer data, gint source, b_input_condition cond ); 94 gboolean jabber_start_stream( struct gaim_connection *gc ); 95 void jabber_end_stream( struct gaim_connection *gc ); 96 97 /* sasl.c */ 98 xt_status sasl_pkt_mechanisms( struct xt_node *node, gpointer data ); 99 xt_status sasl_pkt_challenge( struct xt_node *node, gpointer data ); 100 xt_status sasl_pkt_result( struct xt_node *node, gpointer data ); 101 gboolean sasl_supported( struct gaim_connection *gc ); 102 92 103 #endif
Note: See TracChangeset
for help on using the changeset viewer.