28 #define IS_LISTENER_SUBCLASS
43 #define ONESEC 1000000
52 action = g_hash_table_lookup(aself->
actionmap, GINT_TO_POINTER((
int)fs->
fstype));
59 action(aself, fs, addr);
65 DUMP3(
"_authlistener_got_frameset: AutoACKing FrameSet", &fs->
baseclass, NULL);
66 self->transport->_netio->ackmessage(self->transport->_netio, addr, fs);
81 g_hash_table_iter_init(&iter, self->actionmap);
82 while (g_hash_table_iter_next(&iter, &key, &value)) {
83 guint16 fstype = GPOINTER_TO_INT(key);
98 g_hash_table_iter_init(&iter, self->actionmap);
99 while (g_hash_table_iter_next(&iter, &key, &value)) {
100 guint16 fstype = GPOINTER_TO_INT(key);
111 self->baseclass.dissociate(&self->baseclass);
112 if (self->actionmap) {
113 g_hash_table_destroy(self->actionmap);
114 self->actionmap = NULL;
134 if (newlistener != NULL) {
140 hash = g_hash_table_new(NULL, NULL);
141 for (; map->
action; ++map) {
145 newlistener->
autoack = autoack;