Changes in owl.h [33b6431b:28da2da]
Legend:
- Unmodified
- Added
- Removed
-
owl.h
r33b6431b r28da2da 14 14 #include "compat/compat.h" 15 15 16 #ifdef HAVE_STDBOOL_H17 16 #include <stdbool.h> 18 #else19 #ifndef HAVE__BOOL20 #define _Bool signed char21 #endif22 #define bool _Bool23 #define false 024 #define true 125 #define __bool_true_false_are_defined 126 #endif /* HAVE_STDBOOL_H */27 17 28 18 #ifndef OWL_PERL 19 #define NCURSES_ENABLE_STDBOOL_H 1 29 20 #include <curses.h> 30 21 #include <panel.h> … … 66 57 #include "window.h" 67 58 68 #ifndef OWL_VERSION_STRING69 59 #ifdef GIT_VERSION 70 60 #define stringify(x) __stringify(x) … … 74 64 #define OWL_VERSION_STRING PACKAGE_VERSION 75 65 #endif 76 #endif /* !OWL_VERSION_STRING */77 66 78 67 /* Feature that is being tested to redirect stderr through a pipe. … … 548 537 int fd; /* FD to watch for dispatch. */ 549 538 int mode; 550 bool valid;551 539 int needs_gc; 552 540 void (*callback)(const struct _owl_io_dispatch *, void *); /* C function to dispatch to. */ 553 541 void (*destroy)(const struct _owl_io_dispatch *); /* Destructor */ 554 542 void *data; 555 GPollFD pollfd;556 543 } owl_io_dispatch; 544 545 typedef struct _owl_ps_action { 546 int needs_gc; 547 int (*callback)(struct _owl_ps_action *, void *); 548 void (*destroy)(struct _owl_ps_action *); 549 void *data; 550 } owl_ps_action; 557 551 558 552 typedef struct _owl_popexec { … … 563 557 const owl_io_dispatch *dispatch; 564 558 } owl_popexec; 559 560 typedef struct _OwlGlobalNotifier OwlGlobalNotifier; 565 561 566 562 typedef struct _owl_global { … … 588 584 gulong typwin_erase_id; 589 585 int rightshift; 590 boolresizepending;586 volatile sig_atomic_t resizepending; 591 587 char *homedir; 592 588 char *confdir; … … 605 601 char *startupargs; 606 602 int nextmsgid; 603 int hascolors; 604 int colorpairs; 607 605 owl_colorpair_mgr cpmgr; 608 606 pid_t newmsgproc_pid; … … 611 609 aim_conn_t bosconn; 612 610 int aim_loggedin; /* true if currently logged into AIM */ 613 GSource *aim_event_source; /* where we get our AIM events from*/611 int aim_doprocessing; /* true if we should process AIM events (like pending login) */ 614 612 char *aim_screenname; /* currently logged in AIM screen name */ 615 613 char *aim_screenname_for_filters; /* currently logged in AIM screen name */ … … 621 619 int haveaim; 622 620 int ignoreaimlogin; 621 volatile sig_atomic_t got_err_signal; /* 1 if we got an unexpected signal */ 622 volatile siginfo_t err_signal_info; 623 623 owl_zbuddylist zbuddies; 624 624 GList *zaldlist; … … 626 626 struct termios startup_tio; 627 627 owl_list io_dispatch_list; 628 owl_list psa_list; 628 629 GList *timerlist; 629 630 owl_timer *aim_nop_timer; 630 631 int load_initial_subs; 632 volatile sig_atomic_t interrupted; 631 633 FILE *debug_file; 632 634 char *kill_buffer; 633 int interrupt_count;634 GMutex *interrupt_lock;635 635 } owl_global; 636 636
Note: See TracChangeset
for help on using the changeset viewer.