source: owl.h @ 69f74c2

Last change on this file since 69f74c2 was 69f74c2, checked in by David Benjamin <davidben@mit.edu>, 8 years ago
And now... the moment you've all been waiting for... Expose OWL_VARIABLE_OTHER variables to perl. Rewrite all perl variable entry points to use that one. From now on, C only thinks of these variables as strings. (This has one regression to be fixed in a later commit: you can't set/unset with no arguments since we don't know how to set from boolean.)
  • Property mode set to 100644
File size: 18.6 KB
Line 
1/*  Copyright (c) 2006-2011 The BarnOwl Developers. All rights reserved.
2 *  Copyright (c) 2004 James Kretchmar. All rights reserved.
3 *
4 *  This program is free software. You can redistribute it and/or
5 *  modify under the terms of the Sleepycat License. See the COPYING
6 *  file included with the distribution for more information.
7 */
8
9#ifndef INC_BARNOWL_OWL_H
10#define INC_BARNOWL_OWL_H
11
12#include "config.h"
13
14#include "compat/compat.h"
15
16#include <stdbool.h>
17
18#ifndef OWL_PERL
19#define NCURSES_ENABLE_STDBOOL_H 1
20#include <ncursesw/curses.h>
21#include <ncursesw/panel.h>
22#endif
23#include <sys/param.h>
24#include <sys/types.h>
25#include <ctype.h>
26#include <errno.h>
27#include <EXTERN.h>
28#include <fcntl.h>
29#include <netdb.h>
30#include <regex.h>
31#include <time.h>
32#include <signal.h>
33#include <stdlib.h>
34#include <string.h>
35#include <termios.h>
36#include <unistd.h>
37#include "libfaim/aim.h"
38#include <wchar.h>
39#include <glib.h>
40#ifdef HAVE_LIBZEPHYR
41#include <zephyr/zephyr.h>
42#endif
43#ifdef HAVE_COM_ERR_H
44#include <com_err.h>
45#endif
46
47/* Perl and curses don't play nice. */
48#ifdef OWL_PERL
49typedef struct _owl_fake_WINDOW WINDOW;
50typedef struct _owl_fake_PANEL PANEL;
51/* logout is defined in FreeBSD. */
52#define logout logout_
53#define HAS_BOOL
54#include <perl.h>
55#include "owl_perl.h"
56#undef logout
57#include "XSUB.h"
58#else
59typedef struct _owl_fake_SV SV;
60typedef struct _owl_fake_AV AV;
61typedef struct _owl_fake_HV HV;
62#endif
63
64#include "window.h"
65
66#ifndef OWL_VERSION_STRING
67#ifdef  GIT_VERSION
68#define stringify(x)       __stringify(x)
69#define __stringify(x)     #x
70#define OWL_VERSION_STRING stringify(GIT_VERSION)
71#else
72#define OWL_VERSION_STRING PACKAGE_VERSION
73#endif
74#endif /* !OWL_VERSION_STRING */
75
76/* Feature that is being tested to redirect stderr through a pipe.
77 * There may still be some portability problems with this. */
78#define OWL_STDERR_REDIR 1
79
80#define OWL_DEBUG 0
81#define OWL_DEBUG_FILE "/var/tmp/barnowl-debug"
82
83#define OWL_CONFIG_DIR "/.owl"             /* this is relative to the user's home directory */
84
85#define OWL_FMTEXT_ATTR_NONE      0
86#define OWL_FMTEXT_ATTR_BOLD      1
87#define OWL_FMTEXT_ATTR_REVERSE   2
88#define OWL_FMTEXT_ATTR_UNDERLINE 4
89
90#define OWL_FMTEXT_UC_BASE 0x100000 /* Unicode Plane 16 - Supplementary Private Use Area-B*/
91#define OWL_FMTEXT_UC_ATTR ( OWL_FMTEXT_UC_BASE | 0x800 )
92#define OWL_FMTEXT_UC_ATTR_MASK 0x7
93#define OWL_FMTEXT_UC_COLOR_BASE ( OWL_FMTEXT_UC_BASE | 0x400 )
94#define OWL_FMTEXT_UC_FGCOLOR OWL_FMTEXT_UC_COLOR_BASE
95#define OWL_FMTEXT_UC_BGCOLOR ( OWL_FMTEXT_UC_COLOR_BASE | 0x200 )
96#define OWL_FMTEXT_UC_DEFAULT_COLOR 0x100
97#define OWL_FMTEXT_UC_FGDEFAULT ( OWL_FMTEXT_UC_FGCOLOR | OWL_FMTEXT_UC_DEFAULT_COLOR )
98#define OWL_FMTEXT_UC_BGDEFAULT ( OWL_FMTEXT_UC_BGCOLOR | OWL_FMTEXT_UC_DEFAULT_COLOR )
99#define OWL_FMTEXT_UC_COLOR_MASK 0xFF
100#define OWL_FMTEXT_UC_ALLCOLOR_MASK ( OWL_FMTEXT_UC_COLOR_MASK | OWL_FMTEXT_UC_DEFAULT_COLOR | 0x200)
101#define OWL_FMTEXT_UC_STARTBYTE_UTF8 '\xf4'
102
103#define OWL_COLOR_BLACK     0
104#define OWL_COLOR_RED       1
105#define OWL_COLOR_GREEN     2
106#define OWL_COLOR_YELLOW    3
107#define OWL_COLOR_BLUE      4
108#define OWL_COLOR_MAGENTA   5
109#define OWL_COLOR_CYAN      6
110#define OWL_COLOR_WHITE     7
111#define OWL_COLOR_DEFAULT   -1
112#define OWL_COLOR_INVALID   -2
113
114#define OWL_TAB_WIDTH 8
115
116#define OWL_EDITWIN_STYLE_MULTILINE 0
117#define OWL_EDITWIN_STYLE_ONELINE   1
118
119#define OWL_PROTOCOL_ZEPHYR         0
120#define OWL_PROTOCOL_AIM            1
121#define OWL_PROTOCOL_JABBER         2
122#define OWL_PROTOCOL_ICQ            3
123#define OWL_PROTOCOL_YAHOO          4
124#define OWL_PROTOCOL_MSN            5
125
126#define OWL_MESSAGE_DIRECTION_NONE  0
127#define OWL_MESSAGE_DIRECTION_IN    1
128#define OWL_MESSAGE_DIRECTION_OUT   2
129
130#define OWL_DIRECTION_NONE      0
131#define OWL_DIRECTION_DOWNWARDS 1
132#define OWL_DIRECTION_UPWARDS   2
133
134#define OWL_LOGGING_DIRECTION_BOTH 0
135#define OWL_LOGGING_DIRECTION_IN   1
136#define OWL_LOGGING_DIRECTION_OUT  2
137
138#define OWL_SCROLLMODE_NORMAL      0
139#define OWL_SCROLLMODE_TOP         1
140#define OWL_SCROLLMODE_NEARTOP     2
141#define OWL_SCROLLMODE_CENTER      3
142#define OWL_SCROLLMODE_PAGED       4
143#define OWL_SCROLLMODE_PAGEDCENTER 5
144
145#define OWL_TAB               3  /* This *HAS* to be the size of TABSTR below */
146#define OWL_TABSTR        "   "
147#define OWL_MSGTAB            7
148#define OWL_TYPWIN_SIZE       8
149#define OWL_HISTORYSIZE       50
150
151/* Indicate current state, as well as what is allowed */
152#define OWL_CTX_ANY          0xffff
153/* Only one of these may be active at a time... */
154#define OWL_CTX_MODE_BITS    0x000f
155#define OWL_CTX_STARTUP      0x0001
156#define OWL_CTX_READCONFIG   0x0002
157#define OWL_CTX_INTERACTIVE  0x0004
158/* Only one of these may be active at a time... */
159#define OWL_CTX_ACTIVE_BITS  0xfff0
160#define OWL_CTX_POPWIN       0x00f0
161#define OWL_CTX_POPLESS      0x0010
162#define OWL_CTX_RECWIN       0x0f00
163#define OWL_CTX_RECV         0x0100
164#define OWL_CTX_TYPWIN       0xf000
165#define OWL_CTX_EDIT         0x7000
166#define OWL_CTX_EDITLINE     0x1000
167#define OWL_CTX_EDITMULTI    0x2000
168#define OWL_CTX_EDITRESPONSE 0x4000
169
170#define OWL_VARIABLE_OTHER      0
171#define OWL_VARIABLE_INT        1
172#define OWL_VARIABLE_BOOL       2
173#define OWL_VARIABLE_STRING     3
174
175#define OWL_OUTPUT_RETURN       0
176#define OWL_OUTPUT_POPUP        1
177#define OWL_OUTPUT_ADMINMSG     2
178
179#define OWL_FILTER_MAX_DEPTH    300
180
181#define OWL_KEYMAP_MAXSTACK     20
182
183#define OWL_KEYBINDING_NOOP     0   /* dummy binding that does nothing */
184#define OWL_KEYBINDING_COMMAND  1   /* command string */
185#define OWL_KEYBINDING_FUNCTION 2   /* function taking no args */
186
187#define OWL_DEFAULT_ZAWAYMSG    "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"
188#define OWL_DEFAULT_AAWAYMSG    "I'm sorry, but I am currently away from the terminal and am\nnot able to receive your message.\n"
189
190#define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: "
191
192#define OWL_WEBZEPHYR_PRINCIPAL "daemon/webzephyr.mit.edu"
193#define OWL_WEBZEPHYR_CLASS     "webzephyr"
194#define OWL_WEBZEPHYR_OPCODE    "webzephyr"
195
196#define OWL_ZEPHYR_NOSTRIP_HOST         "host/"
197#define OWL_ZEPHYR_NOSTRIP_RCMD         "rcmd."
198#define OWL_ZEPHYR_NOSTRIP_DAEMON5      "daemon/"
199#define OWL_ZEPHYR_NOSTRIP_DAEMON4      "daemon."
200
201#define OWL_REGEX_QUOTECHARS    "!+*.?[]^\\${}()|"
202#define OWL_REGEX_QUOTEWITH     "\\"
203
204#if defined(HAVE_DES_STRING_TO_KEY) && defined(HAVE_DES_KEY_SCHED) && defined(HAVE_DES_ECB_ENCRYPT)
205#define OWL_ENABLE_ZCRYPT 1
206#endif
207
208/* Annotate functions in which the caller owns the return value and is
209 * responsible for ensuring it is freed. */
210#define CALLER_OWN G_GNUC_WARN_UNUSED_RESULT
211
212#define OWL_META(key) ((key)|010000)
213/* OWL_CTRL is definied in kepress.c */
214
215#ifdef HAVE_LIBZEPHYR
216/* libzephyr doesn't use const, so we appease the type system with this kludge.
217 * This just casts const char * to char * in a way that doesn't yield a warning
218 * from gcc -Wcast-qual. */
219static inline char *zstr(const char *str)
220{
221  union { char *rw; const char *ro; } u;
222  u.ro = str;
223  return u.rw;
224}
225#endif
226
227/* Convert char *const * into const char *const *.  This conversion is safe,
228 * and implicit in C++ (conv.qual 4) but for some reason not in C. */
229static inline const char *const *strs(char *const *pstr)
230{
231  return (const char *const *)pstr;
232}
233
234typedef struct _owl_variable {
235  char *name;
236  int   type;  /* OWL_VARIABLE_* */
237  char *default_str;            /* the default value as a string */
238  char *validsettings;          /* documentation of valid settings */
239  char *summary;                /* summary of usage */
240  char *description;            /* detailed description */
241  GClosure *set_fromstring_fn;
242                                /* sets the variable to a value
243                                 * of the appropriate type.
244                                 * unless documented, this
245                                 * should make a copy.
246                                 * returns 0 on success. */
247  GClosure *get_tostring_fn;
248                                /* converts val to a string;
249                                 * caller must free the result */
250
251  /* These are only valid for OWL_VARIABLE_{INT,BOOL,STRING} */
252  GValue val;                   /* current value, if default get_fn/set_fn */
253
254  GCallback get_fn;
255                                /* returns a reference to the current value.
256                                 * WARNING:  this approach is hard to make
257                                 * thread-safe... */
258  GCallback validate_fn;
259                                /* returns 1 if newval is valid */
260  GCallback set_fn;
261                                /* sets the variable to a value
262                                 * of the appropriate type.
263                                 * unless documented, this
264                                 * should make a copy.
265                                 * returns 0 on success. */
266} owl_variable;
267
268typedef struct _owl_variable_init_params {
269  const char *name;
270  int   type;  /* OWL_VARIABLE_* */
271  const char *pval_default;     /* for string */
272  int   ival_default;           /* for types int and bool     */
273  const char *validsettings;    /* documentation of valid settings */
274  const char *summary;          /* summary of usage */
275  const char *description;      /* detailed description */
276  void *val;                    /* current value */
277  GCallback validate_fn;
278                                /* returns 1 if newval is valid */
279  GCallback set_fn;
280                                /* sets the variable to a value
281                                 * of the appropriate type.
282                                 * unless documented, this
283                                 * should make a copy.
284                                 * returns 0 on success. */
285  GCallback set_fromstring_fn;
286                                /* sets the variable to a value
287                                 * of the appropriate type.
288                                 * unless documented, this
289                                 * should make a copy.
290                                 * returns 0 on success. */
291  GCallback get_fn;
292                                /* returns a reference to the current value.
293                                 * WARNING:  this approach is hard to make
294                                 * thread-safe... */
295  GCallback get_tostring_fn;
296                                /* converts val to a string;
297                                 * caller must free the result */
298} owl_variable_init_params;
299
300
301typedef struct _owl_input {
302  int ch;
303  gunichar uch;
304} owl_input;
305
306typedef struct _owl_fmtext {
307  GString *buff;
308} owl_fmtext;
309
310typedef struct _owl_dict_el {
311  char *k;                      /* key   */
312  void *v;                      /* value */
313} owl_dict_el;
314
315typedef struct _owl_dict {
316  int size;
317  int avail;
318  owl_dict_el *els;             /* invariant: sorted by k */
319} owl_dict;
320typedef owl_dict owl_vardict;   /* dict of variables */
321typedef owl_dict owl_cmddict;   /* dict of commands */
322
323typedef struct _owl_context {
324  int   mode;
325  void *data;           /* determined by mode */
326  char *keymap;
327  owl_window *cursor;
328  void (*deactivate_cb)(struct _owl_context*);
329  void (*delete_cb)(struct _owl_context*);
330  void *cbdata;
331} owl_context;
332
333typedef struct _owl_cmd {       /* command */
334  char *name;
335
336  char *summary;                /* one line summary of command */
337  char *usage;                  /* usage synopsis */
338  char *description;            /* long description of command */
339
340  int validctx;                 /* bitmask of valid contexts */
341
342  /* we should probably have a type here that says which of
343   * the following is valid, and maybe make the below into a union... */
344
345  /* Only one of these may be non-NULL ... */
346
347  char *cmd_aliased_to;         /* what this command is aliased to... */
348 
349  /* These don't take any context */
350  CALLER_OWN char *(*cmd_args_fn)(int argc, const char *const *argv, const char *buff);
351                                /* takes argv and the full command as buff.
352                                 * caller must free return value if !NULL */
353  void (*cmd_v_fn)(void);       /* takes no args */
354  void (*cmd_i_fn)(int i);      /* takes an int as an arg */
355
356  /* The following also take the active context if it's valid */
357  CALLER_OWN char *(*cmd_ctxargs_fn)(void *ctx, int argc, const char *const *argv, const char *buff);
358                                /* takes argv and the full command as buff.
359                                 * caller must free return value if !NULL */
360  void (*cmd_ctxv_fn)(void *ctx);               /* takes no args */
361  void (*cmd_ctxi_fn)(void *ctx, int i);        /* takes an int as an arg */
362  SV *cmd_perl;                                /* Perl closure that takes a list of args */
363} owl_cmd;
364
365
366typedef struct _owl_zwrite {
367  char *cmd;
368  char *zwriteline;
369  char *class;
370  char *inst;
371  char *realm;
372  char *opcode;
373  char *zsig;
374  char *message;
375  GPtrArray *recips;
376  int cc;
377  int noping;
378} owl_zwrite;
379
380typedef struct _owl_pair {
381  const char *key;
382  char *value;
383} owl_pair;
384
385struct _owl_fmtext_cache;
386
387typedef struct _owl_message {
388  int id;
389  int direction;
390#ifdef HAVE_LIBZEPHYR
391  bool has_notice;
392  ZNotice_t notice;
393#endif
394  struct _owl_fmtext_cache * fmtext;
395  int delete;
396  const char *hostname;
397  GPtrArray *attributes;          /* this is a list of pairs */
398  char *timestr;
399  time_t time;
400} owl_message;
401
402#define OWL_FMTEXT_CACHE_SIZE 1000
403/* We cache the saved fmtexts for the last bunch of messages we
404   rendered */
405typedef struct _owl_fmtext_cache {
406    owl_message * message;
407    owl_fmtext fmtext;
408} owl_fmtext_cache;
409
410typedef struct _owl_style {
411  char *name;
412  SV *perlobj;
413} owl_style;
414
415typedef struct _owl_mainwin {
416  int curtruncated;
417  int lasttruncated;
418  int lastdisplayed;
419  owl_window *window;
420} owl_mainwin;
421
422typedef struct _owl_editwin owl_editwin;
423typedef struct _owl_editwin_excursion owl_editwin_excursion;
424
425typedef struct _owl_viewwin {
426  owl_fmtext fmtext;
427  int textlines;
428  int topline;
429  int rightshift;
430  owl_window *window;
431  void (*onclose_hook) (struct _owl_viewwin *vwin, void *data);
432  void *onclose_hook_data;
433
434  gulong sig_resize_id;
435  owl_window *content;
436  gulong sig_content_redraw_id;
437  owl_window *status;
438  gulong sig_status_redraw_id;
439  owl_window *cmdwin;
440} owl_viewwin;
441 
442typedef struct _owl_popwin {
443  owl_window *border;
444  owl_window *content;
445  gulong sig_redraw_id;
446  gulong sig_resize_id;
447} owl_popwin;
448 
449typedef struct _owl_msgwin {
450  char *msg;
451  owl_window *window;
452  gulong redraw_id;
453} owl_msgwin;
454
455typedef struct _owl_messagelist {
456  GPtrArray *list;
457} owl_messagelist;
458
459typedef struct _owl_regex {
460  int negate;
461  char *string;
462  regex_t re;
463} owl_regex;
464
465typedef struct _owl_filterelement {
466  int (*match_message)(const struct _owl_filterelement *fe, const owl_message *m);
467  /* Append a string representation of the filterelement onto buf*/
468  void (*print_elt)(const struct _owl_filterelement *fe, GString *buf);
469  /* Operands for and,or,not*/
470  struct _owl_filterelement *left, *right;
471  /* For regex filters*/
472  owl_regex re;
473  /* Used by regexes, filter references, and perl */
474  char *field;
475} owl_filterelement;
476
477typedef struct _owl_filter {
478  char *name;
479  owl_filterelement * root;
480  int fgcolor;
481  int bgcolor;
482} owl_filter;
483
484typedef struct _owl_view {
485  char *name;
486  owl_filter *filter;
487  owl_messagelist *ml;
488  const owl_style *style;
489  int cachedmsgid;
490} owl_view;
491
492typedef struct _owl_history {
493  GQueue hist;
494  GList *cur;
495  bool partial;
496} owl_history;
497
498typedef struct _owl_mainpanel {
499  owl_window *panel;
500  owl_window *typwin;
501  owl_window *sepwin;
502  owl_window *msgwin;
503  owl_window *recwin;
504  int recwinlines;
505} owl_mainpanel;
506
507typedef struct _owl_keybinding {
508  int  *keys;                   /* keypress stack */
509  int   len;                    /* length of stack */
510  int   type;                   /* command or function? */
511  char *desc;                   /* description (or "*user*") */
512  char *command;                /* command, if of type command */
513  void (*function_fn)(void);    /* function ptr, if of type function */
514} owl_keybinding;
515
516typedef struct _owl_keymap {
517  char     *name;               /* name of keymap */
518  char     *desc;               /* description */
519  GPtrArray *bindings;          /* key bindings */
520  const struct _owl_keymap *parent;     /* parent */
521  void (*default_fn)(owl_input j);      /* default action (takes a keypress) */
522  void (*prealways_fn)(owl_input  j);   /* always called before a keypress is received */
523  void (*postalways_fn)(owl_input  j);  /* always called after keypress is processed */
524} owl_keymap;
525
526typedef struct _owl_keyhandler {
527  owl_dict  keymaps;            /* dictionary of keymaps */
528  const owl_keymap *active;             /* currently active keymap */
529  int       in_esc;             /* escape pressed? */
530  int       kpstack[OWL_KEYMAP_MAXSTACK+1]; /* current stack of keypresses */
531  int       kpstackpos;         /* location in stack (-1 = none) */
532} owl_keyhandler;
533
534typedef struct _owl_buddy {
535  int proto;
536  char *name;
537  int isidle;
538  int idlesince;
539} owl_buddy;
540
541typedef struct _owl_buddylist {
542  GPtrArray *buddies;
543} owl_buddylist;
544
545typedef struct _owl_zbuddylist {
546  GPtrArray *zusers;
547} owl_zbuddylist;
548
549typedef struct _owl_errqueue {
550  GPtrArray *errlist;
551} owl_errqueue;
552
553typedef struct _owl_colorpair_mgr {
554  int next;
555  short **pairs;
556  bool overflow;
557} owl_colorpair_mgr;
558
559typedef struct _owl_popexec {
560  int refcount;
561  owl_viewwin *vwin;
562  int winactive;
563  pid_t pid;                    /* or 0 if it has terminated */
564  guint io_watch;
565} owl_popexec;
566
567typedef struct _owl_global {
568  owl_mainwin *mw;
569  owl_popwin *pw;
570  owl_msgwin msgwin;
571  owl_history cmdhist;          /* command history */
572  owl_history msghist;          /* outgoing message history */
573  owl_keyhandler kh;
574  owl_dict filters;
575  GList *filterlist;
576  GPtrArray *puntlist;
577  owl_vardict vars;
578  owl_cmddict cmds;
579  GList *context_stack;
580  owl_errqueue errqueue;
581  int lines, cols;
582  int curmsg, topmsg;
583  int markedmsgid;              /* for finding the marked message when it has moved. */
584  int curmsg_vert_offset;
585  owl_view current_view;
586  owl_messagelist *msglist;
587  WINDOW *input_pad;
588  owl_mainpanel mainpanel;
589  gulong typwin_erase_id;
590  int rightshift;
591  bool resizepending;
592  char *homedir;
593  char *confdir;
594  char *startupfile;
595  int direction;
596  int haveconfig;
597  int config_format;
598  owl_editwin *tw;
599  owl_viewwin *vw;
600  void *perl;
601  int debug;
602  time_t starttime;
603  time_t lastinputtime;
604  char *startupargs;
605  int nextmsgid;
606  owl_colorpair_mgr cpmgr;
607  pid_t newmsgproc_pid;
608  owl_regex search_re;
609  aim_session_t aimsess;
610  aim_conn_t bosconn;
611  int aim_loggedin;         /* true if currently logged into AIM */
612  GSource *aim_event_source; /* where we get our AIM events from */
613  char *aim_screenname;     /* currently logged in AIM screen name */
614  char *aim_screenname_for_filters;     /* currently logged in AIM screen name */
615  owl_buddylist buddylist;  /* list of logged in AIM buddies */
616  GQueue *messagequeue;     /* for queueing up aim and other messages */
617  owl_dict styledict;       /* global dictionary of available styles */
618  char *response;           /* response to the last question asked */
619  int havezephyr;
620  int haveaim;
621  int ignoreaimlogin;
622  owl_zbuddylist zbuddies;
623  GList *zaldlist;
624  int pseudologin_notify;
625  struct termios startup_tio;
626  guint aim_nop_timer;
627  int load_initial_subs;
628  FILE *debug_file;
629  char *kill_buffer;
630  int interrupt_count;
631#if GLIB_CHECK_VERSION(2, 31, 0)
632  GMutex interrupt_lock;
633#else
634  GMutex *interrupt_lock;
635#endif
636} owl_global;
637
638/* globals */
639extern owl_global g;
640
641#include "owl_prototypes.h"
642
643/* These were missing from the Zephyr includes before Zephyr 3. */
644#if defined HAVE_LIBZEPHYR && defined ZCONST
645int ZGetSubscriptions(ZSubscription_t *, int *);
646int ZGetLocations(ZLocations_t *,int *);
647#endif
648
649/* We have to dynamically bind these ourselves */
650extern gboolean (*gvalue_from_sv) (GValue * value, SV * sv);
651extern SV * (*sv_from_gvalue) (const GValue * value);
652extern GClosure * (*perl_closure_new) (SV * callback, SV * data, gboolean swap);
653
654
655#endif /* INC_BARNOWL_OWL_H */
Note: See TracBrowser for help on using the repository browser.