event.c 254 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

#include "address.h"
#include "event.h"

NiceEvent *
_nice_event_new (NiceEventType type)
{
  NiceEvent *ev;

  ev = g_slice_new0 (NiceEvent);
  ev->type = type;
  return ev;
}


void
nice_event_free (NiceEvent *ev)
{
  g_slice_free (NiceEvent, ev);
}