};
typedef struct _ModestPresets ModestPresets;
-enum _ModestPresetsInfo {
+typedef enum _ModestPresetsInfo {
/* two bits for the server type */
MODEST_PRESETS_INFO_NONE = 0x0000,
MODEST_PRESETS_INFO_IMAP = 0x0001,
MODEST_PRESETS_INFO_APOP = 0x0004,
MODEST_PRESETS_INFO_SECURE_SMTP = 0x0008,
MODEST_PRESETS_INFO_SECURE_INCOMING = 0x000f
-};
+} ModestPresetsInfo;
-typedef enum _ModestPresetsInfo ModestPresetsInfo;
+/* typedef enum _ModestPresetsInfo ModestPresetsInfo; */
/**
* modest_presets_get_server:
* @self: a valid ModestPresets instance
* @provider: name of the provider
- * @incoming: get the incoming mailserver if TRUE, get the outgoing server otherwise
+ * @incoming_server: get the incoming mailserver if TRUE, get the
+ * outgoing server otherwise
*
* get the name of a incoming or outgoing mailserver
*
* modest_presets_get_info:
* @self: a valid ModestPresets instance
* @provider: name of the provider
- * @incoming: get the incoming mailserver if TRUE, get the outgoing server otherwise
+ * @incoming_server: get the incoming mailserver if TRUE, get the
+ * outgoing server otherwise
*
* get information about some incoming or outgoing mailserver
*
/**
* modest_presets_destroy:
- * @self: a valid ModestPresets instance
+ * @self: a valid ModestPresets instance (ie. must not be NULL)
*
* destroy ModestPresets instance; this is required after you're done with it.
- *
*/
void modest_presets_destroy (ModestPresets *self);