diff options
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r-- | src/xmpp/xmpp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 6510a50e..c5583517 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -86,6 +86,20 @@ typedef struct disco_identity_t { char *category; } DiscoIdentity; +typedef enum { + FIELD_HIDDEN, + FIELD_TEXT_SINGLE, + FIELD_TEXT_PRIVATE, + FIELD_TEXT_MULTI, + FIELD_BOOLEAN, + FIELD_LIST_SINGLE, + FIELD_LIST_MUTLI, + FIELD_JID_SINGLE, + FIELD_JID_MULTI, + FIELD_FIXED, + FIELD_UNKNOWN +} form_field_type_t; + typedef struct form_option_t { char *label; char *value; @@ -94,6 +108,7 @@ typedef struct form_option_t { typedef struct form_field_t { char *label; char *type; + form_field_type_t type_t; char *var; char *description; gboolean required; |