All pastes #23520 Raw Edit

Untitled

public text v1 · immutable
#23520 ·published 2005-09-21 14:39 UTC
rendered paste body
typedef struct iaxc_event_struct {
	struct iaxc_event_struct *next;
	int type;
	union {
		struct iaxc_ev_levels 		levels;
		struct iaxc_ev_text 		text;
		struct iaxc_ev_call_state 	call;
		struct iaxc_ev_netstats 	netstats;
		struct iaxc_ev_url          url;
		struct iaxc_ev_video		video;
		struct iaxc_ev_registration reg;
	} ev;
} iaxc_event;

// ********************************************************************************************
		[StructLayout(LayoutKind.Sequential)]
		struct iaxc_event_struct 
		{
			[FieldOffset(0)]
			public IntPtr next;

			[FieldOffset(4)]
			public int type;

			[FieldOffset(8)]
			public iaxc_ev_levels levels;

			[FieldOffset(8)]
			public iaxc_ev_text text;

			[FieldOffset(8)]
			public iaxc_ev_call_state call;

			[FieldOffset(8)]
			public iaxc_ev_netstats netstats;

			[FieldOffset(8)]
			public iaxc_ev_url url;

			[FieldOffset(8)]
			public iaxc_ev_video video;			
		}