source: owl.h @ 428834d

barnowl_perlaimdebianrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since 428834d was 428834d, checked in by Alejandro R. Sedeño <asedeno@mit.edu>, 16 years ago
take two for input processing
  • Property mode set to 100644
File size: 18.5 KB
Line 
1/*  Copyright (c) 2004 James Kretchmar. All rights reserved.
2 *
3 *  Redistribution and use in source and binary forms, with or without
4 *  modification, are permitted provided that the following conditions are
5 *  met:
6 * 
7 *    * Redistributions of source code must retain the above copyright
8 *      notice, this list of conditions and the following disclaimer.
9 * 
10 *    * Redistributions in binary form must reproduce the above copyright
11 *      notice, this list of conditions and the following disclaimer in
12 *      the documentation and/or other materials provided with the
13 *      distribution.
14 * 
15 *    * Redistributions in any form must be accompanied by information on
16 *      how to obtain complete source code for the Owl software and any
17 *      accompanying software that uses the Owl software. The source code
18 *      must either be included in the distribution or be available for no
19 *      more than the cost of distribution plus a nominal fee, and must be
20 *      freely redistributable under reasonable conditions. For an
21 *      executable file, complete source code means the source code for
22 *      all modules it contains. It does not include source code for
23 *      modules or files that typically accompany the major components of
24 *      the operating system on which the executable file runs.
25 * 
26 *
27 *  THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
28 *  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29 *  WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
30 *  NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
31 *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
34 *  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35 *  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
36 *  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
37 *  IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 */
39
40#ifndef INC_OWL_H
41#define INC_OWL_H
42
43#ifndef OWL_PERL
44#include <curses.h>
45#endif
46#include <sys/param.h>
47#include <EXTERN.h>
48#include <netdb.h>
49#include <regex.h>
50#include <time.h>
51#include <signal.h>
52#include <termios.h>
53#include <libfaim/aim.h>
54#include <wchar.h>
55#include "config.h"
56#include "glib.h"
57#ifdef HAVE_LIBZEPHYR
58#include <zephyr/zephyr.h>
59#endif
60#ifdef HAVE_COM_ERR_H
61#include <com_err.h>
62#endif
63
64/* Perl and curses don't play nice. */
65#ifdef OWL_PERL
66typedef void WINDOW;
67/* logout is defined in FreeBSD. */
68#define logout logout_
69#include <perl.h>
70#undef logout
71#include "XSUB.h"
72#else
73typedef void SV;
74#endif
75
76static const char owl_h_fileIdent[] = "$Id$";
77
78#define STRINGIFY(x) _STRINGIFY(x)
79#define _STRINGIFY(x) #x
80
81#ifndef OWL_SVN_REVNO
82#define OWL_SVN_REVNO ????
83#endif
84
85#define OWL_VERSION_STRING "r" STRINGIFY(OWL_SVN_REVNO)
86
87
88/* Feature that is being tested to redirect stderr through a pipe.
89 * There may still be some portability problems with this. */
90#define OWL_STDERR_REDIR 1
91
92#define OWL_DEBUG 0
93#define OWL_DEBUG_FILE "/var/tmp/owldebug"
94
95#define OWL_CONFIG_DIR "/.owl"             /* this is relative to the user's home directory */
96#define OWL_STARTUP_FILE "/.owl/startup"   /* this is relative to the user's home directory */
97
98#define OWL_FMTEXT_ATTR_NONE      0
99#define OWL_FMTEXT_ATTR_BOLD      1
100#define OWL_FMTEXT_ATTR_REVERSE   2
101#define OWL_FMTEXT_ATTR_UNDERLINE 4
102
103#define OWL_FMTEXT_UC_BASE 0x100000 /* Unicode Plane 16 - Supplementary Private Use Area-B*/
104#define OWL_FMTEXT_UC_ATTR ( OWL_FMTEXT_UC_BASE | 0x800 )
105#define OWL_FMTEXT_UC_ATTR_MASK 0x7
106#define OWL_FMTEXT_UC_COLOR_BASE ( OWL_FMTEXT_UC_BASE | 0x400 )
107#define OWL_FMTEXT_UC_FGCOLOR OWL_FMTEXT_UC_COLOR_BASE
108#define OWL_FMTEXT_UC_BGCOLOR ( OWL_FMTEXT_UC_COLOR_BASE | 0x200 )
109#define OWL_FMTEXT_UC_DEFAULT_COLOR 0x100
110#define OWL_FMTEXT_UC_FGDEFAULT ( OWL_FMTEXT_UC_FGCOLOR | OWL_FMTEXT_UC_DEFAULT_COLOR )
111#define OWL_FMTEXT_UC_BGDEFAULT ( OWL_FMTEXT_UC_BGCOLOR | OWL_FMTEXT_UC_DEFAULT_COLOR )
112#define OWL_FMTEXT_UC_COLOR_MASK 0xFF
113#define OWL_FMTEXT_UC_ALLCOLOR_MASK ( OWL_FMTEXT_UC_COLOR_MASK | OWL_FMTEXT_UC_DEFAULT_COLOR | 0x200)
114#define OWL_FMTEXT_UC_STARTBYTE_UTF8 '\xf4'
115
116#define OWL_FMTEXT_UTF8_ATTR_NONE "\xf4\x80\xa0\x80"
117#define OWL_FMTEXT_UTF8_FGDEFAULT "\xf4\x80\x94\x80"
118#define OWL_FMTEXT_UTF8_BGDEFAULT "\xf4\x80\x96\x80"
119
120
121
122
123#define OWL_COLOR_BLACK     0
124#define OWL_COLOR_RED       1
125#define OWL_COLOR_GREEN     2
126#define OWL_COLOR_YELLOW    3
127#define OWL_COLOR_BLUE      4
128#define OWL_COLOR_MAGENTA   5
129#define OWL_COLOR_CYAN      6
130#define OWL_COLOR_WHITE     7
131#define OWL_COLOR_DEFAULT   -1
132
133#define OWL_EDITWIN_STYLE_MULTILINE 0
134#define OWL_EDITWIN_STYLE_ONELINE   1
135
136#define OWL_PROTOCOL_ZEPHYR         0
137#define OWL_PROTOCOL_AIM            1
138#define OWL_PROTOCOL_JABBER         2
139#define OWL_PROTOCOL_ICQ            3
140#define OWL_PROTOCOL_YAHOO          4
141#define OWL_PROTOCOL_MSN            5
142
143#define OWL_MESSAGE_DIRECTION_NONE  0
144#define OWL_MESSAGE_DIRECTION_IN    1
145#define OWL_MESSAGE_DIRECTION_OUT   2
146
147#define OWL_MUX_READ   1
148#define OWL_MUX_WRITE  2
149#define OWL_MUX_EXCEPT 4
150
151#define OWL_DIRECTION_NONE      0
152#define OWL_DIRECTION_DOWNWARDS 1
153#define OWL_DIRECTION_UPWARDS   2
154
155#define OWL_LOGGING_DIRECTION_BOTH 0
156#define OWL_LOGGING_DIRECTION_IN   1
157#define OWL_LOGGING_DIRECTION_OUT  2
158
159#define OWL_SCROLLMODE_NORMAL      0
160#define OWL_SCROLLMODE_TOP         1
161#define OWL_SCROLLMODE_NEARTOP     2
162#define OWL_SCROLLMODE_CENTER      3
163#define OWL_SCROLLMODE_PAGED       4
164#define OWL_SCROLLMODE_PAGEDCENTER 5
165
166#define OWL_STYLE_TYPE_INTERNAL  0
167#define OWL_STYLE_TYPE_PERL      1
168
169#define OWL_TAB               3  /* This *HAS* to be the size of TABSTR below */
170#define OWL_TABSTR        "   "
171#define OWL_MSGTAB            7
172#define OWL_TYPWIN_SIZE       8
173#define OWL_HISTORYSIZE       50
174
175/* Indicate current state, as well as what is allowed */
176#define OWL_CTX_ANY          0xffff
177/* Only one of these may be active at a time... */
178#define OWL_CTX_MODE_BITS    0x000f
179#define OWL_CTX_STARTUP      0x0001
180#define OWL_CTX_READCONFIG   0x0002
181#define OWL_CTX_INTERACTIVE  0x0004
182/* Only one of these may be active at a time... */
183#define OWL_CTX_ACTIVE_BITS  0xfff0
184#define OWL_CTX_POPWIN       0x00f0
185#define OWL_CTX_POPLESS      0x0010
186#define OWL_CTX_RECWIN       0x0f00
187#define OWL_CTX_RECV         0x0100
188#define OWL_CTX_TYPWIN       0xf000
189#define OWL_CTX_EDIT         0x7000
190#define OWL_CTX_EDITLINE     0x1000
191#define OWL_CTX_EDITMULTI    0x2000
192#define OWL_CTX_EDITRESPONSE 0x4000
193
194#define OWL_USERCLUE_NONE       0
195#define OWL_USERCLUE_CLASSES    1
196#define OWL_USERCLUE_FOOBAR     2
197#define OWL_USERCLUE_BAZ        4
198
199#define OWL_WEBBROWSER_NONE     0
200#define OWL_WEBBROWSER_NETSCAPE 1
201#define OWL_WEBBROWSER_GALEON   2
202#define OWL_WEBBROWSER_OPERA    3
203
204#define OWL_VARIABLE_OTHER      0
205#define OWL_VARIABLE_INT        1
206#define OWL_VARIABLE_BOOL       2
207#define OWL_VARIABLE_STRING     3
208
209#define OWL_FILTER_MAX_DEPTH    300
210
211#define OWL_KEYMAP_MAXSTACK     20
212
213#define OWL_KEYBINDING_COMMAND  1   /* command string */
214#define OWL_KEYBINDING_FUNCTION 2   /* function taking no args */
215
216#define OWL_DEFAULT_ZAWAYMSG    "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"
217#define OWL_DEFAULT_AAWAYMSG    "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"
218
219#define OWL_INCLUDE_REG_TESTS   1  /* whether to build in regression tests */
220
221#define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: "
222
223#define OWL_WEBZEPHYR_PRINCIPAL "daemon.webzephyr"
224#define OWL_WEBZEPHYR_CLASS     "webzephyr"
225#define OWL_WEBZEPHYR_OPCODE    "webzephyr"
226
227#define OWL_REGEX_QUOTECHARS    "+*.?[]^\\${}()"
228#define OWL_REGEX_QUOTEWITH     "\\"
229
230#if defined(HAVE_DES_STRING_TO_KEY) && defined(HAVE_DES_KEY_SCHED) && defined(HAVE_DES_ECB_ENCRYPT)
231#define OWL_ENABLE_ZCRYPT 1
232#endif
233
234#define OWL_META(key) ((key)|0200)
235/* OWL_CTRL is definied in kepress.c */
236
237#define LINE 2048
238
239typedef struct _owl_variable {
240  char *name;
241  int   type;  /* OWL_VARIABLE_* */
242  void *pval_default;  /* for types other and string */
243  int   ival_default;  /* for types int and bool     */
244  char *validsettings;          /* documentation of valid settings */
245  char *summary;                /* summary of usage */
246  char *description;            /* detailed description */
247  void *val;                    /* current value */
248  int  (*validate_fn)(struct _owl_variable *v, void *newval);
249                                /* returns 1 if newval is valid */
250  int  (*set_fn)(struct _owl_variable *v, void *newval); 
251                                /* sets the variable to a value
252                                 * of the appropriate type.
253                                 * unless documented, this
254                                 * should make a copy.
255                                 * returns 0 on success. */
256  int  (*set_fromstring_fn)(struct _owl_variable *v, char *newval);
257                                /* sets the variable to a value
258                                 * of the appropriate type.
259                                 * unless documented, this
260                                 * should make a copy.
261                                 * returns 0 on success. */
262  void *(*get_fn)(struct _owl_variable *v);
263                                /* returns a reference to the current value.
264                                 * WARNING:  this approach is hard to make
265                                 * thread-safe... */
266  int  (*get_tostring_fn)(struct _owl_variable *v, 
267                          char *buf, int bufsize, void *val); 
268                                /* converts val to a string
269                                 * and puts into buf */
270  void  (*free_fn)(struct _owl_variable *v);
271                                /* frees val as needed */
272} owl_variable;
273
274typedef struct _owl_input {
275  int ch;
276  char utf8buf[8];
277  gunichar uch;
278} owl_input;
279
280typedef struct _owl_fmtext {
281  int textlen;
282  int bufflen;
283  char *textbuff;
284  char default_attrs;
285  short default_fgcolor;
286  short default_bgcolor;
287} owl_fmtext;
288
289typedef struct _owl_list {
290  int size;
291  int avail;
292  void **list;
293} owl_list;
294
295typedef struct _owl_dict_el {
296  char *k;                      /* key   */
297  void *v;                      /* value */
298} owl_dict_el;
299
300typedef struct _owl_dict {
301  int size;
302  int avail;
303  owl_dict_el *els;             /* invariant: sorted by k */
304} owl_dict;
305typedef owl_dict owl_vardict;   /* dict of variables */
306typedef owl_dict owl_cmddict;   /* dict of commands */
307
308typedef struct _owl_context {
309  int   mode;
310  void *data;           /* determined by mode */
311} owl_context;
312
313typedef struct _owl_cmd {       /* command */
314  char *name;
315
316  char *summary;                /* one line summary of command */
317  char *usage;                  /* usage synopsis */
318  char *description;            /* long description of command */
319
320  int validctx;                 /* bitmask of valid contexts */
321
322  /* we should probably have a type here that says which of
323   * the following is valid, and maybe make the below into a union... */
324
325  /* Only one of these may be non-NULL ... */
326
327  char *cmd_aliased_to;         /* what this command is aliased to... */
328 
329  /* These don't take any context */
330  char *(*cmd_args_fn)(int argc, char **argv, char *buff); 
331                                /* takes argv and the full command as buff.
332                                 * caller must free return value if !NULL */
333  void (*cmd_v_fn)(void);       /* takes no args */
334  void (*cmd_i_fn)(int i);      /* takes an int as an arg */
335
336  /* The following also take the active context if it's valid */
337  char *(*cmd_ctxargs_fn)(void *ctx, int argc, char **argv, char *buff); 
338                                /* takes argv and the full command as buff.
339                                 * caller must free return value if !NULL */
340  void (*cmd_ctxv_fn)(void *ctx);               /* takes no args */
341  void (*cmd_ctxi_fn)(void *ctx, int i);        /* takes an int as an arg */
342  SV *cmd_perl;                                /* Perl closure that takes a list of args */
343} owl_cmd;
344
345
346typedef struct _owl_zwrite {
347  char *class;
348  char *inst;
349  char *realm;
350  char *opcode;
351  char *zsig;
352  char *message;
353  owl_list recips;
354  int cc;
355  int noping;
356} owl_zwrite;
357
358typedef struct _owl_pair {
359  void *key;
360  void *value;
361} owl_pair;
362
363struct _owl_fmtext_cache;
364
365typedef struct _owl_message {
366  int id;
367  int direction;
368#ifdef HAVE_LIBZEPHYR
369  ZNotice_t notice;
370#endif
371  struct _owl_fmtext_cache * fmtext;
372  int delete;
373  char *hostname;
374  owl_list attributes;            /* this is a list of pairs */
375  char *timestr;
376  time_t time;
377  char *zwriteline;
378} owl_message;
379
380#define OWL_FMTEXT_CACHE_SIZE 1000
381/* We cache the saved fmtexts for the last bunch of messages we
382   rendered */
383typedef struct _owl_fmtext_cache {
384    owl_message * message;
385    owl_fmtext fmtext;
386} owl_fmtext_cache;
387
388typedef struct _owl_style {
389  char *name;
390  char *description;
391  int type;
392  char *perlfuncname;
393  void (*formatfunc) (owl_fmtext *fm, owl_message *m);
394} owl_style;
395
396typedef struct _owl_mainwin {
397  int curtruncated;
398  int lasttruncated;
399  int lastdisplayed;
400} owl_mainwin;
401
402typedef struct _owl_viewwin {
403  owl_fmtext fmtext;
404  int textlines;
405  int topline;
406  int rightshift;
407  int winlines, wincols;
408  WINDOW *curswin;
409  void (*onclose_hook) (struct _owl_viewwin *vwin, void *data);
410  void *onclose_hook_data;
411} owl_viewwin;
412 
413typedef struct _owl_popwin {
414  WINDOW *borderwin;
415  WINDOW *popwin;
416  int lines;
417  int cols;
418  int active;
419  int needsfirstrefresh;
420  void (*handler) (int ch);
421} owl_popwin;
422
423typedef struct _owl_popexec {
424  int refcount;
425  owl_viewwin *vwin;
426  int winactive;
427  int pid;                      /* or 0 if it has terminated */
428  int rfd; 
429} owl_popexec;
430
431typedef struct _owl_messagelist {
432  owl_list list;
433} owl_messagelist;
434
435typedef struct _owl_regex {
436  int negate;
437  char *string;
438  regex_t re;
439} owl_regex;
440
441typedef struct _owl_filterelement {
442  int (*match_message)(struct _owl_filterelement *fe, owl_message *m);
443  /* Append a string representation of the filterelement onto buf*/
444  void (*print_elt)(struct _owl_filterelement *fe, char * buf);
445  /* Operands for and,or,not*/
446  struct _owl_filterelement *left, *right;
447  /* For regex filters*/
448  owl_regex re;
449  /* Used by regexes, filter references, and perl */
450  char *field;
451} owl_filterelement;
452
453typedef struct _owl_filter {
454  char *name;
455  int polarity;
456  owl_filterelement * root;
457  int fgcolor;
458  int bgcolor;
459  int cachedmsgid;  /* cached msgid: should move into view eventually */
460} owl_filter;
461
462typedef struct _owl_view {
463  char *name;
464  owl_filter *filter;
465  owl_messagelist ml;
466  owl_style *style;
467} owl_view;
468
469typedef struct _owl_history {
470  owl_list hist;
471  int cur;
472  int touched;
473  int partial;
474  int repeats;
475} owl_history;
476
477typedef struct _owl_editwin {
478  char *buff;
479  owl_history *hist;
480  int bufflen;
481  int allocated;
482  int buffx, buffy;
483  int topline;
484  int winlines, wincols, fillcol, wrapcol;
485  WINDOW *curswin;
486  int style;
487  int lock;
488  int dotsend;
489  int echochar;
490
491  char *command;
492  void (*callback)(struct _owl_editwin*);
493  void *cbdata;
494} owl_editwin;
495
496typedef struct _owl_mux {
497  int handle;                   /* for referencing this */
498  int active;                   /* has this been deleted? */
499  int fd;                     
500  int eventmask;                /* bitmask of OWL_MUX_* */
501  void (*handler_fn)(int handle, int fd, int eventmask, void *data);
502  void *data;                   /* data reference to pass to callback */
503} owl_mux;
504typedef owl_list owl_muxevents;
505
506typedef struct _owl_keybinding {
507  int  *j;                      /* keypress stack (0-terminated) */ 
508  int   type;                   /* command or function? */
509  char *desc;                   /* description (or "*user*") */
510  char *command;                /* command, if of type command */
511  void (*function_fn)(void);    /* function ptr, if of type function */
512} owl_keybinding;
513
514typedef struct _owl_keymap {
515  char     *name;               /* name of keymap */
516  char     *desc;               /* description */
517  owl_list  bindings;           /* key bindings */
518  struct _owl_keymap *submap;   /* submap */
519  void (*default_fn)(owl_input j);      /* default action (takes a keypress) */
520  void (*prealways_fn)(owl_input  j);   /* always called before a keypress is received */
521  void (*postalways_fn)(owl_input  j);  /* always called after keypress is processed */
522} owl_keymap;
523
524typedef struct _owl_keyhandler {
525  owl_dict  keymaps;            /* dictionary of keymaps */
526  owl_keymap *active;           /* currently active keymap */
527  int       in_esc;             /* escape pressed? */
528  int       kpstack[OWL_KEYMAP_MAXSTACK+1]; /* current stack of keypresses */
529  int       kpstackpos;         /* location in stack (-1 = none) */
530} owl_keyhandler;
531
532typedef struct _owl_buddy {
533  int proto;
534  char *name;
535  int isidle;
536  int idlesince;
537} owl_buddy;
538
539typedef struct _owl_buddylist {
540  owl_list buddies;
541} owl_buddylist;
542
543typedef struct _owl_zbuddylist {
544  owl_list zusers;
545} owl_zbuddylist;
546
547typedef struct _owl_timer {
548  int direction;
549  time_t starttime;
550  int start;
551} owl_timer;
552
553typedef struct _owl_errqueue {
554  owl_list errlist;
555} owl_errqueue;
556
557typedef struct _owl_colorpair_mgr {
558  int next;
559  short **pairs;
560} owl_colorpair_mgr;
561
562typedef struct _owl_obarray {
563  owl_list strings;
564} owl_obarray;
565
566typedef struct _owl_global {
567  owl_mainwin mw;
568  owl_popwin pw;
569  owl_history cmdhist;          /* command history */
570  owl_history msghist;          /* outgoing message history */
571  owl_keyhandler kh;
572  owl_list filterlist;
573  owl_list puntlist;
574  owl_muxevents muxevents;      /* fds to dispatch on */
575  owl_vardict vars;
576  owl_cmddict cmds;
577  owl_context ctx;
578  owl_errqueue errqueue;
579  int lines, cols;
580  int curmsg, topmsg;
581  int curmsg_vert_offset;
582  owl_view current_view;
583  owl_messagelist msglist;
584  WINDOW *recwin, *sepwin, *msgwin, *typwin;
585  int needrefresh;
586  int rightshift;
587  int resizepending;
588  int recwinlines;
589  int typwinactive;
590  char *thishost;
591  char *homedir;
592  char *confdir;
593  char *startupfile;
594  int direction;
595  int zaway;
596  char *cur_zaway_msg;
597  int haveconfig;
598  int config_format;
599  void *buffercbdata;
600  owl_editwin tw;
601  owl_viewwin vw;
602  void *perl;
603  int debug;
604  time_t starttime;
605  time_t lastinputtime;
606  char *startupargs;
607  int userclue;
608  int nextmsgid;
609  int hascolors;
610  int colorpairs;
611  owl_colorpair_mgr cpmgr;
612  int searchactive;
613  int newmsgproc_pid;
614  int malloced, freed;
615  char *searchstring;
616  aim_session_t aimsess;
617  aim_conn_t bosconn;
618  owl_timer aim_noop_timer;
619  owl_timer aim_ignorelogin_timer;
620  owl_timer aim_buddyinfo_timer;
621  int aim_loggedin;         /* true if currently logged into AIM */
622  int aim_doprocessing;     /* true if we should process AIM events (like pending login) */
623  char *aim_screenname;     /* currently logged in AIM screen name */
624  owl_buddylist buddylist;  /* list of logged in AIM buddies */
625  owl_list messagequeue;    /* for queueing up aim and other messages */
626  owl_dict styledict;       /* global dictionary of available styles */
627  char *response;           /* response to the last question asked */
628  int havezephyr;
629  int haveaim;
630  int got_err_signal;       /* 1 if we got an unexpected signal */
631  siginfo_t err_signal_info;
632  owl_zbuddylist zbuddies;
633  owl_timer zephyr_buddycheck_timer;
634  struct termios startup_tio;
635  owl_obarray obarray;
636} owl_global;
637
638/* globals */
639extern owl_global g;
640
641#include "owl_prototypes.h"
642
643/* these are missing from the zephyr includes for some reason */
644#ifdef HAVE_LIBZEPHYR
645int ZGetSubscriptions(ZSubscription_t *, int *);
646int ZGetLocations(ZLocations_t *,int *);
647#endif
648
649#endif /* INC_OWL_H */
Note: See TracBrowser for help on using the repository browser.