- Timestamp:
- Oct 12, 2017, 8:28:02 PM (7 years ago)
- Branches:
- master
- Children:
- a882637
- Parents:
- ee6b30f
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/06/17 21:27:09)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (10/12/17 20:28:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.h
rca1fb26a r4fd3c04 35 35 #include <termios.h> 36 36 #include <unistd.h> 37 #include "libfaim/aim.h"38 37 #include <wchar.h> 39 38 #include <glib.h> … … 108 107 #define OWL_EDITWIN_STYLE_MULTILINE 0 109 108 #define OWL_EDITWIN_STYLE_ONELINE 1 110 111 #define OWL_PROTOCOL_ZEPHYR 0112 #define OWL_PROTOCOL_AIM 1113 #define OWL_PROTOCOL_JABBER 2114 #define OWL_PROTOCOL_ICQ 3115 #define OWL_PROTOCOL_YAHOO 4116 #define OWL_PROTOCOL_MSN 5117 109 118 110 #define OWL_MESSAGE_DIRECTION_NONE 0 … … 178 170 179 171 #define OWL_DEFAULT_ZAWAYMSG "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n" 180 #define OWL_DEFAULT_AAWAYMSG "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"181 172 182 173 #define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: " … … 492 483 int kpstackpos; /* location in stack (-1 = none) */ 493 484 } owl_keyhandler; 494 495 typedef struct _owl_buddy {496 int proto;497 char *name;498 int isidle;499 int idlesince;500 } owl_buddy;501 502 typedef struct _owl_buddylist {503 GPtrArray *buddies;504 } owl_buddylist;505 485 506 486 typedef struct _owl_zbuddylist { … … 569 549 pid_t newmsgproc_pid; 570 550 owl_regex search_re; 571 aim_session_t aimsess; 572 aim_conn_t bosconn; 573 int aim_loggedin; /* true if currently logged into AIM */ 574 GSource *aim_event_source; /* where we get our AIM events from */ 575 char *aim_screenname; /* currently logged in AIM screen name */ 576 char *aim_screenname_for_filters; /* currently logged in AIM screen name */ 577 owl_buddylist buddylist; /* list of logged in AIM buddies */ 578 GQueue *messagequeue; /* for queueing up aim and other messages */ 551 GQueue *messagequeue; /* for queueing up messages */ 579 552 owl_dict styledict; /* global dictionary of available styles */ 580 553 char *response; /* response to the last question asked */ 581 554 int havezephyr; 582 int haveaim;583 int ignoreaimlogin;584 555 owl_zbuddylist zbuddies; 585 556 GList *zaldlist; 586 557 int pseudologin_notify; 587 558 struct termios startup_tio; 588 guint aim_nop_timer;589 559 int load_initial_subs; 590 560 FILE *debug_file;
Note: See TracChangeset
for help on using the changeset viewer.