Changeset aa69c1e for owl.h


Ignore:
Timestamp:
Jun 22, 2011, 12:37:22 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
e146cd7
Parents:
2d04312
git-author:
David Benjamin <davidben@mit.edu> (05/24/11 02:10:33)
git-committer:
David Benjamin <davidben@mit.edu> (06/22/11 00:37:22)
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

    ra6a9ddb raa69c1e  
    121121#define OWL_MESSAGE_DIRECTION_IN    1
    122122#define OWL_MESSAGE_DIRECTION_OUT   2
    123 
    124 #define OWL_IO_READ   1
    125 #define OWL_IO_WRITE  2
    126 #define OWL_IO_EXCEPT 4
    127123
    128124#define OWL_DIRECTION_NONE      0
     
    526522  bool overflow;
    527523} owl_colorpair_mgr;
    528 
    529 typedef struct _owl_io_dispatch {
    530   int fd;                                     /* FD to watch for dispatch. */
    531   int mode;
    532   bool valid;
    533   int needs_gc;
    534   void (*callback)(const struct _owl_io_dispatch *, void *); /* C function to dispatch to. */
    535   void (*destroy)(const struct _owl_io_dispatch *);  /* Destructor */
    536   void *data;
    537   GPollFD pollfd;
    538 } owl_io_dispatch;
    539524
    540525typedef struct _owl_popexec {
     
    607592  int pseudologin_notify;
    608593  struct termios startup_tio;
    609   owl_list io_dispatch_list;
    610594  guint aim_nop_timer;
    611595  int load_initial_subs;
Note: See TracChangeset for help on using the changeset viewer.