Add a module to distribute messages to many analysis modules
[lttv.git] / lttv / lttv / sync / data_structures.h
index 1f70ade4877a82ae782bfe4695d16d7375895683..b6bc89801692d8d224f0a820d11e60232233d9b8 100644 (file)
@@ -100,6 +100,7 @@ typedef struct _Event
                UDPEvent* udpEvent;
        } event;
 
+       void (*copy)(const struct _Event* const event, struct _Event** const newEvent);
        void (*destroy)(struct _Event* const event);
 } Event;
 
@@ -149,6 +150,9 @@ void gdnDestroyDatagramKey(gpointer data);
 
 // Event-related functions
 void gdnDestroyEvent(gpointer data);
+void copyEvent(const Event* const event, Event** const newEvent);
+void copyTCPEvent(const Event* const event, Event** const newEvent);
+void copyUDPEvent(const Event* const event, Event** const newEvent);
 void destroyEvent(Event* const event);
 void destroyTCPEvent(Event* const event);
 void destroyUDPEvent(Event* const event);
This page took 0.022991 seconds and 4 git commands to generate.