Changeset 9c7a701 for owl.h


Ignore:
Timestamp:
Feb 15, 2008, 12:56:49 AM (17 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
18a54ee
Parents:
a6a4155
Message:
Initial select() changes.
stdin, zephyr, jabber, and irc are checked and have dispatch functions.
aim is hacked in -- not entirely pretty, but documented and isolated.
We still want timers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r88dc766 r9c7a701  
    537537  owl_list strings;
    538538} owl_obarray;
     539
     540typedef struct _owl_dispatch {
     541  int fd;           /* FD to watch for dispatch. */
     542  void (*cfunc)();  /* C function to dispatch to. */
     543  SV *pfunc;        /* Perl function to dispatch to. */
     544} owl_dispatch;
    539545
    540546typedef struct _owl_global {
     
    608614  struct termios startup_tio;
    609615  owl_obarray obarray;
     616  owl_list dispatchlist;
    610617} owl_global;
    611618
Note: See TracChangeset for help on using the changeset viewer.