Changeset c5c5686 for owl.h


Ignore:
Timestamp:
Jun 21, 2011, 11:19:09 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
c66ec48
Parents:
b15f9e9
git-author:
David Benjamin <davidben@mit.edu> (05/24/11 02:10:33)
git-committer:
David Benjamin <davidben@mit.edu> (06/21/11 23:19:09)
Message:
And finally, remove owl_io_dispatch

All uses have been replaced with a GIOChannel watch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rb37accd rc5c5686  
    130130#define OWL_MESSAGE_DIRECTION_IN    1
    131131#define OWL_MESSAGE_DIRECTION_OUT   2
    132 
    133 #define OWL_IO_READ   1
    134 #define OWL_IO_WRITE  2
    135 #define OWL_IO_EXCEPT 4
    136132
    137133#define OWL_DIRECTION_NONE      0
     
    535531  bool overflow;
    536532} owl_colorpair_mgr;
    537 
    538 typedef struct _owl_io_dispatch {
    539   int fd;                                     /* FD to watch for dispatch. */
    540   int mode;
    541   bool valid;
    542   int needs_gc;
    543   void (*callback)(const struct _owl_io_dispatch *, void *); /* C function to dispatch to. */
    544   void (*destroy)(const struct _owl_io_dispatch *);  /* Destructor */
    545   void *data;
    546   GPollFD pollfd;
    547 } owl_io_dispatch;
    548533
    549534typedef struct _owl_popexec {
     
    616601  int pseudologin_notify;
    617602  struct termios startup_tio;
    618   owl_list io_dispatch_list;
    619603  guint aim_nop_timer;
    620604  int load_initial_subs;
Note: See TracChangeset for help on using the changeset viewer.