Lines Matching refs:signature
2 /* dbus-signature.c Routines for reading recursive type signatures
26 #include "dbus-signature.h"
37 const char *pos; /**< current position in the signature string */
51 * @defgroup DBusSignature Type signature parsing
58 * Initializes a #DBusSignatureIter for reading a type signature. This
64 * @param signature the type signature
68 const char *signature)
72 real_iter->pos = signature;
100 * Returns the signature of the single complete type starting at the
109 * @returns current signature; or #NULL if no memory. Should be freed with dbus_free()
224 * Check a type signature for validity. Remember that #NULL can always
228 * @param signature a potentially invalid type signature
230 * @returns #TRUE if signature is valid or #FALSE if an error is set
233 dbus_signature_validate (const char *signature,
240 _dbus_string_init_const (&str, signature);
253 * Check that a type signature is both valid and contains exactly one
259 * @param signature a potentially invalid type signature
261 * @returns #TRUE if signature is valid and has exactly one complete type
264 dbus_signature_validate_single (const char *signature,
269 if (!dbus_signature_validate (signature, error))
272 dbus_signature_iter_init (&iter, signature);
278 dbus_set_error (error, DBUS_ERROR_INVALID_SIGNATURE, "Exactly one complete type required in signature");