aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorjames <>2008-02-08 15:06:52 +0000
committerjames <>2008-02-08 15:06:52 +0000
commita4101322d71ce2f800d741e98ec8f537c70b663f (patch)
tree9ff178d83a007491efafce60ba2d7b0a363e2858 /apps
parent314cd6b742efa6e0c97f4b9e991add65c5bbaad4 (diff)
downloadsympathy-a4101322d71ce2f800d741e98ec8f537c70b663f.tar.gz
sympathy-a4101322d71ce2f800d741e98ec8f537c70b663f.tar.bz2
sympathy-a4101322d71ce2f800d741e98ec8f537c70b663f.zip
*** empty log message ***
Diffstat (limited to 'apps')
-rw-r--r--apps/ipc.h7
-rw-r--r--apps/sympathyd.c9
2 files changed, 15 insertions, 1 deletions
diff --git a/apps/ipc.h b/apps/ipc.h
index 9ac3642..33852fe 100644
--- a/apps/ipc.h
+++ b/apps/ipc.h
@@ -3,3 +3,10 @@
#include <sys/un.h>
#define SOCKPATH "/tmp/sympathy"
+
+typedef struct {
+int type;
+int len;
+uint8_t data[0];
+} Sympathy_msg;
+
diff --git a/apps/sympathyd.c b/apps/sympathyd.c
index a535ac6..4845c95 100644
--- a/apps/sympathyd.c
+++ b/apps/sympathyd.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.3 2008/02/08 15:06:52 james
+ * *** empty log message ***
+ *
* Revision 1.2 2008/02/07 15:42:49 james
* *** empty log message ***
*
@@ -21,6 +24,10 @@ static char rcsid[] = "$Id$";
#include "sympathy.h"
#include "ipc.h"
+#include "../src/crt.h"
+#include "../src/vt102.h"
+
+
int main(int argc,char *argv[])
{
int fd;
@@ -48,6 +55,6 @@ if (listen(fd,5)<0) {
}
-
+printf("sizeof(VT102)=%d\n",sizeof(VT102));
}