mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 05:46:21 +00:00
Added form tests
This commit is contained in:
@@ -62,10 +62,12 @@ autocomplete_new(void)
|
||||
void
|
||||
autocomplete_clear(Autocomplete ac)
|
||||
{
|
||||
g_slist_free_full(ac->items, free);
|
||||
ac->items = NULL;
|
||||
if (ac != NULL) {
|
||||
g_slist_free_full(ac->items, free);
|
||||
ac->items = NULL;
|
||||
|
||||
autocomplete_reset(ac);
|
||||
autocomplete_reset(ac);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
@@ -335,4 +337,4 @@ _search_from(Autocomplete ac, GSList *curr, gboolean quote)
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#ifndef FORM_H
|
||||
#define FROM_H
|
||||
|
||||
#include "xmpp/xmpp.h"
|
||||
|
||||
DataForm* form_create(xmpp_stanza_t * const stanza);
|
||||
xmpp_stanza_t* form_create_submission(DataForm *form);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user