aboutsummaryrefslogtreecommitdiffstats
path: root/src/rx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rx.h')
-rw-r--r--src/rx.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rx.h b/src/rx.h
index c07bfd1..6c5f2d0 100644
--- a/src/rx.h
+++ b/src/rx.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.2 2008/03/06 16:49:05 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/03/06 15:17:26 james
* *** empty log message ***
*
@@ -20,10 +23,14 @@
#ifndef __RX_H__
#define __RX_H__
+#define RX_SIGNATURE \
+ int (*rx)(struct RX_struct *,int); \
+ void (*close)(struct RX_struct *);
+
typedef struct RX_struct
{
- void (*rx)(struct RX_struct *,int);
+ RX_SIGNATURE;
} RX;