src/gaim.h

changeset 313
caad53ed4d2d
parent 312
87ec460697c0
child 337
a8e0c72c6b8a
equal deleted inserted replaced
312:87ec460697c0 313:caad53ed4d2d
211 struct chat_room { 211 struct chat_room {
212 char name[128]; 212 char name[128];
213 int exchange; 213 int exchange;
214 }; 214 };
215 215
216 #ifdef USE_OSCAR
216 struct chat_connection { 217 struct chat_connection {
217 char *name; 218 char *name;
218 int fd; /* this is redundant since we have the conn below */ 219 int fd; /* this is redundant since we have the conn below */
219 struct aim_conn_t *conn; 220 struct aim_conn_t *conn;
220 int inpa; 221 int inpa;
221 }; 222 };
223 #endif
222 224
223 struct debug_window { 225 struct debug_window {
224 GtkWidget *window; 226 GtkWidget *window;
225 GtkWidget *entry; 227 GtkWidget *entry;
226 }; 228 };
346 #define TYPE_DATA 2 348 #define TYPE_DATA 2
347 #define TYPE_ERROR 3 349 #define TYPE_ERROR 3
348 #define TYPE_SIGNOFF 4 350 #define TYPE_SIGNOFF 4
349 #define TYPE_KEEPALIVE 5 351 #define TYPE_KEEPALIVE 5
350 352
351 #define REVISION "gaim:$Revision: 322 $" 353 #define REVISION "gaim:$Revision: 323 $"
352 #define FLAPON "FLAPON\r\n\r\n" 354 #define FLAPON "FLAPON\r\n\r\n"
353 355
354 #define ROAST "Tic/Toc" 356 #define ROAST "Tic/Toc"
355 357
356 358
569 /* Functions in network.c */ 571 /* Functions in network.c */
570 extern unsigned int *get_address(char *); 572 extern unsigned int *get_address(char *);
571 extern int connect_address(unsigned int, unsigned short); 573 extern int connect_address(unsigned int, unsigned short);
572 574
573 /* Functions in oscar.c */ 575 /* Functions in oscar.c */
576 #ifdef USE_OSCAR
574 extern int oscar_login(char *, char *); 577 extern int oscar_login(char *, char *);
575 extern void oscar_close(); 578 extern void oscar_close();
576 extern struct chat_connection *find_oscar_chat(char *name); 579 extern struct chat_connection *find_oscar_chat(char *name);
580 #endif /* not #else because we still use some toc functions */
577 581
578 /* Functions in toc.c */ 582 /* Functions in toc.c */
579 extern void toc_close(); 583 extern void toc_close();
580 extern int toc_login(char *, char *); 584 extern int toc_login(char *, char *);
581 extern int toc_wait_signon(void); 585 extern int toc_wait_signon(void);

mercurial