| 18 * You should have received a copy of the GNU General Public License |
18 * You should have received a copy of the GNU General Public License |
| 19 * along with this program; if not, write to the Free Software |
19 * along with this program; if not, write to the Free Software |
| 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 * |
21 * |
| 22 */ |
22 */ |
| 23 |
23 #ifndef _GAIM_GAIM_SOCKET_H_ |
| 24 #ifndef _GAIM_SOCKET_H_ |
24 #define _GAIM_GAIM_SOCKET_H_ |
| 25 #define _GAIM_SOCKET_H_ |
|
| 26 |
25 |
| 27 struct gaim_cui_packet { |
26 struct gaim_cui_packet { |
| 28 guchar type; |
27 guchar type; |
| 29 guchar subtype; |
28 guchar subtype; |
| 30 guint32 length; |
29 guint32 length; |
| 41 void cui_packet_append_string(struct gaim_cui_packet *p, char *str); |
40 void cui_packet_append_string(struct gaim_cui_packet *p, char *str); |
| 42 void cui_packet_append_char(struct gaim_cui_packet *p, char c); |
41 void cui_packet_append_char(struct gaim_cui_packet *p, char c); |
| 43 void cui_packet_append_raw(struct gaim_cui_packet *p, char *str, int len); |
42 void cui_packet_append_raw(struct gaim_cui_packet *p, char *str, int len); |
| 44 |
43 |
| 45 |
44 |
| 46 #endif /* _GAIM_SOCKET_H_ */ |
45 #endif /* _GAIM_GAIM_SOCKET_H_ */ |