1/* libedataserver-1.2.vapi generated by vapigen, do not modify. */ 2 3[CCode (cprefix = "E", gir_namespace = "EDataServer", gir_version = "1.2", lower_case_cprefix = "e_")] 4namespace E { 5 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 6 [Compact] 7 [Version (since = "3.6")] 8 public class AsyncClosure { 9 public static void callback (GLib.Object object, GLib.AsyncResult result, void* closure); 10 public void free (); 11 public unowned GLib.AsyncResult wait (); 12 } 13 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_client_get_type ()")] 14 [Version (since = "3.2")] 15 public abstract class Client : GLib.Object { 16 [CCode (has_construct_function = false)] 17 protected Client (); 18 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 19 public void cancel_all (); 20 public bool check_capability (string capability); 21 public bool check_refresh_supported (); 22 [Version (since = "3.16")] 23 public string dup_bus_name (); 24 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 25 public static GLib.Error error_create (E.ClientError code, string custom_msg); 26 public static GLib.Quark error_quark (); 27 public static unowned string error_to_string (E.ClientError code); 28 public virtual async bool get_backend_property (string prop_name, GLib.Cancellable? cancellable, out string prop_value) throws GLib.Error; 29 public virtual bool get_backend_property_sync (string prop_name, out string prop_value, GLib.Cancellable? cancellable = null) throws GLib.Error; 30 public unowned GLib.SList<string> get_capabilities (); 31 public unowned E.Source get_source (); 32 public bool is_online (); 33 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 34 public bool is_opened (); 35 public bool is_readonly (); 36 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 37 public virtual async bool open (bool only_if_exists, GLib.Cancellable? cancellable) throws GLib.Error; 38 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 39 public virtual bool open_sync (bool only_if_exists, GLib.Cancellable? cancellable = null) throws GLib.Error; 40 [Version (since = "3.8")] 41 public GLib.MainContext ref_main_context (); 42 public virtual async bool refresh (GLib.Cancellable? cancellable) throws GLib.Error; 43 public virtual bool refresh_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 44 [Version (deprecated = true, deprecated_since = "3.6", since = "3.2")] 45 public virtual async bool remove (GLib.Cancellable? cancellable) throws GLib.Error; 46 [Version (deprecated = true, deprecated_since = "3.6", since = "3.2")] 47 public virtual bool remove_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 48 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 49 public virtual async bool retrieve_capabilities (GLib.Cancellable? cancellable, out string capabilities) throws GLib.Error; 50 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 51 public virtual bool retrieve_capabilities_sync (out string capabilities, GLib.Cancellable? cancellable = null) throws GLib.Error; 52 [Version (since = "3.16")] 53 public async bool retrieve_properties (GLib.Cancellable? cancellable) throws GLib.Error; 54 [Version (since = "3.16")] 55 public virtual bool retrieve_properties_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 56 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 57 public virtual async bool set_backend_property (string prop_name, string prop_value, GLib.Cancellable? cancellable) throws GLib.Error; 58 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 59 public virtual bool set_backend_property_sync (string prop_name, string prop_value, GLib.Cancellable? cancellable = null) throws GLib.Error; 60 [Version (since = "3.16")] 61 public void set_bus_name (string bus_name); 62 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 63 public virtual void unwrap_dbus_error (GLib.Error dbus_error) throws GLib.Error; 64 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 65 public static GLib.SList<GLib.Object> util_copy_object_slist (GLib.SList<GLib.Object>? copy_to, GLib.SList<GLib.Object> objects); 66 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 67 public static GLib.SList<string> util_copy_string_slist (GLib.SList<string>? copy_to, GLib.SList<string> strings); 68 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 69 public static void util_free_object_slist (GLib.SList<GLib.Object> objects); 70 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 71 public static void util_free_string_slist (GLib.SList<string> strings); 72 public static GLib.SList<string> util_parse_comma_strings (string strings); 73 [CCode (array_length = false, array_null_terminated = true)] 74 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 75 public static string[] util_slist_to_strv (GLib.SList<string> strings); 76 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 77 public static GLib.SList<string> util_strv_to_slist (string strv); 78 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 79 public static bool util_unwrap_dbus_error (GLib.Error dbus_error, out GLib.Error client_error, E.ClientErrorsList known_errors, uint known_errors_count, GLib.Quark known_errors_domain, bool fail_when_none_matched); 80 [Version (since = "3.16")] 81 public async bool wait_for_connected (uint32 timeout_seconds, GLib.Cancellable? cancellable) throws GLib.Error; 82 [Version (since = "3.16")] 83 public bool wait_for_connected_sync (uint32 timeout_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error; 84 public void* capabilities { get; } 85 [NoAccessorMethod] 86 public GLib.MainContext main_context { owned get; } 87 [NoAccessorMethod] 88 public bool online { get; set; } 89 [NoAccessorMethod] 90 [Version (deprecated = true, deprecated_since = "3.8")] 91 public virtual bool opened { get; } 92 [NoAccessorMethod] 93 public bool readonly { get; } 94 public E.Source source { get; construct; } 95 public virtual signal void backend_died (); 96 public virtual signal void backend_error (string error_msg); 97 public virtual signal void backend_property_changed (string prop_name, string prop_value); 98 } 99 [CCode (cheader_filename = "libedataserver/libedataserver.h", ref_function = "e_collator_ref", type_id = "e_collator_get_type ()", unref_function = "e_collator_unref")] 100 [Compact] 101 [Version (since = "3.12")] 102 public class Collator { 103 [CCode (has_construct_function = false)] 104 public Collator (string locale) throws GLib.Error; 105 public bool collate (string? str_a, string? str_b, out int result) throws GLib.Error; 106 public string generate_key (string str) throws GLib.Error; 107 public string generate_key_for_index (int index); 108 public int get_index (string str); 109 [CCode (array_length = false, array_null_terminated = true)] 110 public unowned string[] get_index_labels (out int n_labels, out int underflow, out int inflow, out int overflow); 111 [CCode (has_construct_function = false)] 112 public Collator.interpret_country (string locale, out string country_code) throws GLib.Error; 113 public E.Collator @ref (); 114 public void unref (); 115 } 116 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_extension_get_type ()")] 117 [Version (since = "3.4")] 118 public abstract class Extension : GLib.Object { 119 [CCode (has_construct_function = false)] 120 protected Extension (); 121 public unowned E.Extensible get_extensible (); 122 public E.Extensible extensible { get; construct; } 123 } 124 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 125 [Compact] 126 [Version (since = "1.12")] 127 public class Flag { 128 public void clear (); 129 public void free (); 130 public bool is_set (); 131 public void @set (); 132 [Version (deprecated = true, deprecated_since = "3.8", since = "1.12")] 133 public bool timed_wait (GLib.TimeVal abs_time); 134 public void wait (); 135 [Version (since = "3.8")] 136 public bool wait_until (int64 end_time); 137 } 138 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 139 [Compact] 140 public class MemChunk { 141 } 142 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_module_get_type ()")] 143 [Version (since = "3.4")] 144 public class Module : GLib.TypeModule, GLib.TypePlugin { 145 [CCode (has_construct_function = false)] 146 public Module (string filename); 147 public unowned string get_filename (); 148 public static GLib.List<weak E.Module> load_all_in_directory (string dirname); 149 [Version (since = "3.16")] 150 public static E.Module load_file (string filename); 151 public string filename { get; construct; } 152 } 153 [CCode (cheader_filename = "libedataserver/libedataserver.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "e_named_parameters_get_type ()")] 154 [Compact] 155 [Version (since = "3.8")] 156 public class NamedParameters { 157 [CCode (has_construct_function = false)] 158 public NamedParameters (); 159 public void assign (E.NamedParameters? from); 160 public void clear (); 161 [Version (since = "3.18")] 162 public uint count (); 163 [Version (since = "3.18")] 164 public bool exists (global::string name); 165 public void free (); 166 public unowned global::string @get (global::string name); 167 [Version (since = "3.18")] 168 public global::string get_name (int index); 169 [Version (since = "3.16")] 170 public E.NamedParameters new_clone (); 171 public void @set (global::string name, global::string? value); 172 [CCode (has_construct_function = false)] 173 [Version (since = "3.18")] 174 public NamedParameters.string (global::string str); 175 [CCode (has_construct_function = false)] 176 public NamedParameters.strv (global::string strv); 177 public bool test (global::string name, global::string value, bool case_sensitively); 178 [Version (since = "3.18")] 179 public global::string to_string (); 180 [CCode (array_length = false, array_null_terminated = true)] 181 public global::string[] to_strv (); 182 } 183 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_network_monitor_get_type ()")] 184 [Version (since = "3.22")] 185 public class NetworkMonitor : GLib.Object, GLib.Initable, GLib.NetworkMonitor { 186 [CCode (has_construct_function = false)] 187 protected NetworkMonitor (); 188 public string dup_gio_name (); 189 public static unowned GLib.NetworkMonitor get_default (); 190 public GLib.SList<string> list_gio_names (); 191 public void set_gio_name (string? gio_name); 192 [NoAccessorMethod] 193 public string gio_name { owned get; set; } 194 } 195 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 196 [Compact] 197 [Version (since = "3.2")] 198 public class OperationPool { 199 public void free (); 200 public void push (void* opdata); 201 public void release_opid (uint32 opid); 202 public uint32 reserve_opid (); 203 } 204 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_soup_auth_bearer_get_type ()")] 205 [Version (since = "3.10")] 206 public class SoupAuthBearer : Soup.Auth { 207 [CCode (has_construct_function = false)] 208 protected SoupAuthBearer (); 209 [Version (since = "3.24")] 210 public bool is_expired (); 211 public void set_access_token (string access_token, int expires_in_seconds); 212 } 213 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_get_type ()")] 214 [Version (since = "3.6")] 215 public class Source : GLib.Object, GLib.Initable, GLib.ProxyResolver { 216 [CCode (has_construct_function = false)] 217 public Source (GLib.DBusObject? dbus_object, GLib.MainContext? main_context) throws GLib.Error; 218 public int compare_by_display_name (E.Source source2); 219 public bool credentials_google_get_access_token_sync (E.NamedParameters credentials, string out_access_token, int out_expires_in_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error; 220 public static bool credentials_google_is_supported (); 221 public static bool credentials_google_util_extract_from_credentials (E.NamedParameters credentials, string out_access_token, int out_expires_in_seconds); 222 public bool credentials_google_util_generate_secret_uid (string out_uid); 223 [Version (since = "3.12")] 224 public async bool delete_password (GLib.Cancellable? cancellable) throws GLib.Error; 225 [Version (since = "3.12")] 226 public bool delete_password_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 227 public string dup_display_name (); 228 public string dup_parent (); 229 [Version (since = "3.12")] 230 public string dup_secret_label (); 231 public string dup_uid (); 232 [Version (since = "3.16")] 233 public void emit_credentials_required (E.SourceCredentialsReason reason, string certificate_pem, GLib.TlsCertificateFlags certificate_errors, GLib.Error? op_error); 234 public bool equal (E.Source source2); 235 [Version (since = "3.16")] 236 public E.SourceConnectionStatus get_connection_status (); 237 public unowned string get_display_name (); 238 public bool get_enabled (); 239 public unowned E.SourceExtension get_extension (string extension_name); 240 [Version (since = "3.16")] 241 public async bool get_last_credentials_required_arguments (GLib.Cancellable? cancellable, out E.SourceCredentialsReason out_reason, out string out_certificate_pem, out GLib.TlsCertificateFlags out_certificate_errors, out GLib.Error out_op_error) throws GLib.Error; 242 [Version (since = "3.16")] 243 public bool get_last_credentials_required_arguments_sync (out E.SourceCredentialsReason out_reason, out string out_certificate_pem, out GLib.TlsCertificateFlags out_certificate_errors, out GLib.Error out_op_error, GLib.Cancellable? cancellable = null) throws GLib.Error; 244 [Version (since = "3.8")] 245 public virtual async bool get_oauth2_access_token (GLib.Cancellable? cancellable, out string out_access_token, out int out_expires_in) throws GLib.Error; 246 [Version (since = "3.8")] 247 public virtual bool get_oauth2_access_token_sync (GLib.Cancellable? cancellable, out string out_access_token, out int out_expires_in) throws GLib.Error; 248 public unowned string get_parent (); 249 public bool get_remote_creatable (); 250 public bool get_remote_deletable (); 251 public bool get_removable (); 252 public unowned string get_uid (); 253 public bool get_writable (); 254 public bool has_extension (string extension_name); 255 public uint hash (); 256 [Version (since = "3.16")] 257 public async bool invoke_authenticate (E.NamedParameters? credentials, GLib.Cancellable? cancellable) throws GLib.Error; 258 [NoWrapper] 259 public virtual bool invoke_authenticate_impl (void* dbus_source, string arg_credentials, GLib.Cancellable? cancellable = null) throws GLib.Error; 260 [Version (since = "3.16")] 261 public bool invoke_authenticate_sync (E.NamedParameters? credentials, GLib.Cancellable? cancellable = null) throws GLib.Error; 262 [Version (since = "3.16")] 263 public async bool invoke_credentials_required (E.SourceCredentialsReason reason, string certificate_pem, GLib.TlsCertificateFlags certificate_errors, GLib.Error? op_error, GLib.Cancellable? cancellable) throws GLib.Error; 264 [NoWrapper] 265 public virtual bool invoke_credentials_required_impl (void* dbus_source, string arg_reason, string arg_certificate_pem, string arg_certificate_errors, string arg_dbus_error_name, string arg_dbus_error_message, GLib.Cancellable? cancellable = null) throws GLib.Error; 266 [Version (since = "3.16")] 267 public bool invoke_credentials_required_sync (E.SourceCredentialsReason reason, string certificate_pem, GLib.TlsCertificateFlags certificate_errors, GLib.Error? op_error, GLib.Cancellable? cancellable = null) throws GLib.Error; 268 [Version (since = "3.12")] 269 public async bool lookup_password (GLib.Cancellable? cancellable, out string out_password) throws GLib.Error; 270 [Version (since = "3.12")] 271 public bool lookup_password_sync (GLib.Cancellable? cancellable, out string out_password) throws GLib.Error; 272 public async bool mail_signature_load (int io_priority, GLib.Cancellable? cancellable, out string contents, out size_t length) throws GLib.Error; 273 public bool mail_signature_load_sync (out string contents, out size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error; 274 public async bool mail_signature_replace (string contents, size_t length, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error; 275 public bool mail_signature_replace_sync (string contents, size_t length, GLib.Cancellable? cancellable = null) throws GLib.Error; 276 public async bool mail_signature_symlink (string symlink_target, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error; 277 public bool mail_signature_symlink_sync (string symlink_target, GLib.Cancellable? cancellable = null) throws GLib.Error; 278 public static string parameter_to_key (string param_name); 279 [CCode (array_length = false, array_null_terminated = true)] 280 [Version (since = "3.12")] 281 public async string[] proxy_lookup (string uri, GLib.Cancellable? cancellable) throws GLib.Error; 282 [CCode (array_length = false, array_null_terminated = true)] 283 [Version (since = "3.12")] 284 public string[] proxy_lookup_sync (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error; 285 public GLib.DBusObject ref_dbus_object (); 286 public GLib.MainContext ref_main_context (); 287 public uint refresh_add_timeout (GLib.MainContext? context, owned E.SourceRefreshFunc callback); 288 public void refresh_force_timeout (); 289 public bool refresh_remove_timeout (uint refresh_timeout_id); 290 public uint refresh_remove_timeouts_by_data (void* user_data); 291 public virtual async bool remote_create (E.Source scratch_source, GLib.Cancellable? cancellable) throws GLib.Error; 292 public virtual bool remote_create_sync (E.Source scratch_source, GLib.Cancellable? cancellable = null) throws GLib.Error; 293 public virtual async bool remote_delete (GLib.Cancellable? cancellable) throws GLib.Error; 294 public virtual bool remote_delete_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 295 public virtual async bool remove (GLib.Cancellable? cancellable) throws GLib.Error; 296 public virtual bool remove_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 297 [Version (since = "3.16")] 298 public void set_connection_status (E.SourceConnectionStatus connection_status); 299 public void set_display_name (string display_name); 300 public void set_enabled (bool enabled); 301 public void set_parent (string? parent); 302 [Version (since = "3.12")] 303 public async bool store_password (string password, bool permanently, GLib.Cancellable? cancellable) throws GLib.Error; 304 [Version (since = "3.12")] 305 public bool store_password_sync (string password, bool permanently, GLib.Cancellable? cancellable = null) throws GLib.Error; 306 public string to_string (size_t? length); 307 [Version (since = "3.18")] 308 public async bool unset_last_credentials_required_arguments (GLib.Cancellable? cancellable) throws GLib.Error; 309 [NoWrapper] 310 public virtual bool unset_last_credentials_required_arguments_impl (GLib.Cancellable? cancellable = null) throws GLib.Error; 311 [Version (since = "3.18")] 312 public bool unset_last_credentials_required_arguments_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 313 [CCode (has_construct_function = false)] 314 public Source.with_uid (string uid, GLib.MainContext? main_context) throws GLib.Error; 315 public virtual async bool write (GLib.Cancellable? cancellable) throws GLib.Error; 316 public virtual bool write_sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 317 public E.SourceConnectionStatus connection_status { get; } 318 public string display_name { get; set construct; } 319 public bool enabled { get; set construct; } 320 [NoAccessorMethod] 321 public GLib.MainContext main_context { owned get; construct; } 322 public string parent { get; set; } 323 public bool remote_creatable { get; } 324 public bool remote_deletable { get; } 325 public bool removable { get; } 326 public string uid { get; construct; } 327 public bool writable { get; } 328 public virtual signal void authenticate (E.NamedParameters credentials); 329 [HasEmitter] 330 public virtual signal void changed (); 331 public virtual signal void credentials_required (E.SourceCredentialsReason reason, string certificate_pem, GLib.TlsCertificateFlags certificate_errors, GLib.Error op_error); 332 } 333 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_address_book_get_type ()")] 334 [Version (since = "3.6")] 335 public class SourceAddressBook : E.SourceBackend { 336 [CCode (has_construct_function = false)] 337 protected SourceAddressBook (); 338 } 339 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_alarms_get_type ()")] 340 [Version (since = "3.6")] 341 public class SourceAlarms : E.SourceExtension { 342 [CCode (has_construct_function = false)] 343 protected SourceAlarms (); 344 public string dup_last_notified (); 345 public bool get_include_me (); 346 public unowned string get_last_notified (); 347 public void set_include_me (bool include_me); 348 public void set_last_notified (string? last_notified); 349 public bool include_me { get; set construct; } 350 public string last_notified { get; set construct; } 351 } 352 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_authentication_get_type ()")] 353 [Version (since = "3.6")] 354 public class SourceAuthentication : E.SourceExtension { 355 [CCode (has_construct_function = false)] 356 protected SourceAuthentication (); 357 [Version (since = "3.16")] 358 public string dup_credential_name (); 359 public string dup_host (); 360 public string dup_method (); 361 [Version (since = "3.12")] 362 public string dup_proxy_uid (); 363 public string dup_user (); 364 [Version (since = "3.16")] 365 public unowned string get_credential_name (); 366 public unowned string get_host (); 367 public unowned string get_method (); 368 public uint16 get_port (); 369 [Version (since = "3.12")] 370 public unowned string get_proxy_uid (); 371 [Version (since = "3.10")] 372 public bool get_remember_password (); 373 public unowned string get_user (); 374 [Version (since = "3.8")] 375 public GLib.SocketConnectable ref_connectable (); 376 public bool required (); 377 [Version (since = "3.16")] 378 public void set_credential_name (string? credential_name); 379 public void set_host (string? host); 380 public void set_method (string? method); 381 public void set_port (uint16 port); 382 [Version (since = "3.12")] 383 public void set_proxy_uid (string proxy_uid); 384 [Version (since = "3.10")] 385 public void set_remember_password (bool remember_password); 386 public void set_user (string? user); 387 [NoAccessorMethod] 388 public GLib.SocketConnectable connectable { owned get; } 389 public string credential_name { get; set construct; } 390 public string host { get; set construct; } 391 public string method { get; set construct; } 392 public uint port { get; set construct; } 393 public string proxy_uid { get; set construct; } 394 public bool remember_password { get; set construct; } 395 public string user { get; set construct; } 396 } 397 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_autocomplete_get_type ()")] 398 [Version (since = "3.6")] 399 public class SourceAutocomplete : E.SourceExtension { 400 [CCode (has_construct_function = false)] 401 protected SourceAutocomplete (); 402 public bool get_include_me (); 403 public void set_include_me (bool include_me); 404 public bool include_me { get; set construct; } 405 } 406 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_backend_get_type ()")] 407 [Version (since = "3.6")] 408 public abstract class SourceBackend : E.SourceExtension { 409 [CCode (has_construct_function = false)] 410 protected SourceBackend (); 411 public string dup_backend_name (); 412 public unowned string get_backend_name (); 413 public void set_backend_name (string? backend_name); 414 public string backend_name { get; set construct; } 415 } 416 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_calendar_get_type ()")] 417 [Version (since = "3.6")] 418 public class SourceCalendar : E.SourceSelectable { 419 [CCode (has_construct_function = false)] 420 protected SourceCalendar (); 421 } 422 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_camel_get_type ()")] 423 [Version (since = "3.6")] 424 public abstract class SourceCamel : E.SourceExtension { 425 [CCode (has_construct_function = false)] 426 protected SourceCamel (); 427 public static GLib.Type generate_subtype (string protocol, GLib.Type settings_type); 428 public static unowned string get_extension_name (string protocol); 429 public static unowned string get_type_name (string protocol); 430 public static void register_types (); 431 } 432 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_collection_get_type ()")] 433 [Version (since = "3.6")] 434 public class SourceCollection : E.SourceBackend { 435 [CCode (has_construct_function = false)] 436 protected SourceCollection (); 437 public string dup_identity (); 438 public bool get_calendar_enabled (); 439 public bool get_contacts_enabled (); 440 public unowned string get_identity (); 441 public bool get_mail_enabled (); 442 public void set_calendar_enabled (bool calendar_enabled); 443 public void set_contacts_enabled (bool contacts_enabled); 444 public void set_identity (string? identity); 445 public void set_mail_enabled (bool mail_enabled); 446 public bool calendar_enabled { get; set construct; } 447 public bool contacts_enabled { get; set construct; } 448 public string identity { get; set construct; } 449 public bool mail_enabled { get; set construct; } 450 } 451 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_contacts_get_type ()")] 452 public class SourceContacts : E.SourceExtension { 453 [CCode (has_construct_function = false)] 454 protected SourceContacts (); 455 public bool get_include_me (); 456 public void set_include_me (bool include_me); 457 public bool include_me { get; set; } 458 } 459 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_credentials_provider_get_type ()")] 460 [Version (since = "3.16")] 461 public class SourceCredentialsProvider : GLib.Object, E.Extensible { 462 [CCode (has_construct_function = false)] 463 public SourceCredentialsProvider (E.SourceRegistry registry); 464 public bool can_prompt (E.Source source); 465 public bool can_store (E.Source source); 466 public async bool @delete (E.Source source, GLib.Cancellable? cancellable) throws GLib.Error; 467 public bool delete_sync (E.Source source, GLib.Cancellable? cancellable = null) throws GLib.Error; 468 public async bool lookup (E.Source source, GLib.Cancellable? cancellable, out E.NamedParameters out_credentials) throws GLib.Error; 469 public bool lookup_sync (E.Source source, GLib.Cancellable? cancellable, out E.NamedParameters out_credentials) throws GLib.Error; 470 public E.Source ref_credentials_source (E.Source source); 471 public GLib.Object ref_registry (); 472 public virtual E.Source ref_source (string uid); 473 public bool register_impl (E.SourceCredentialsProviderImpl provider_impl); 474 public async bool store (E.Source source, E.NamedParameters credentials, bool permanently, GLib.Cancellable? cancellable) throws GLib.Error; 475 public bool store_sync (E.Source source, E.NamedParameters credentials, bool permanently, GLib.Cancellable? cancellable = null) throws GLib.Error; 476 public void unregister_impl (E.SourceCredentialsProviderImpl provider_impl); 477 [NoAccessorMethod] 478 public GLib.Object registry { owned get; construct; } 479 } 480 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_credentials_provider_impl_get_type ()")] 481 [Version (since = "3.16")] 482 public abstract class SourceCredentialsProviderImpl : E.Extension { 483 [CCode (has_construct_function = false)] 484 protected SourceCredentialsProviderImpl (); 485 public virtual bool can_process (E.Source source); 486 public virtual bool can_prompt (); 487 public virtual bool can_store (); 488 public virtual bool delete_sync (E.Source source, GLib.Cancellable? cancellable = null) throws GLib.Error; 489 public void* get_provider (); 490 public virtual bool lookup_sync (E.Source source, GLib.Cancellable? cancellable, out E.NamedParameters out_credentials) throws GLib.Error; 491 public virtual bool store_sync (E.Source source, E.NamedParameters credentials, bool permanently, GLib.Cancellable? cancellable = null) throws GLib.Error; 492 } 493 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_credentials_provider_impl_google_get_type ()")] 494 [Version (since = "3.20")] 495 public class SourceCredentialsProviderImplGoogle : E.SourceCredentialsProviderImpl { 496 [CCode (has_construct_function = false)] 497 protected SourceCredentialsProviderImplGoogle (); 498 } 499 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_credentials_provider_impl_password_get_type ()")] 500 [Version (since = "3.16")] 501 public class SourceCredentialsProviderImplPassword : E.SourceCredentialsProviderImpl { 502 [CCode (has_construct_function = false)] 503 protected SourceCredentialsProviderImplPassword (); 504 } 505 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_extension_get_type ()")] 506 [Version (since = "3.6")] 507 public abstract class SourceExtension : GLib.Object { 508 [CCode (has_construct_function = false)] 509 protected SourceExtension (); 510 [Version (deprecated = true, deprecated_since = "3.8", since = "3.6")] 511 public unowned E.Source get_source (); 512 [Version (since = "3.18")] 513 public void property_lock (); 514 [Version (since = "3.18")] 515 public void property_unlock (); 516 [Version (since = "3.8")] 517 public E.Source ref_source (); 518 public E.Source source { get; construct; } 519 } 520 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_goa_get_type ()")] 521 [Version (since = "3.6")] 522 public class SourceGoa : E.SourceExtension { 523 [CCode (has_construct_function = false)] 524 protected SourceGoa (); 525 public string dup_account_id (); 526 [Version (since = "3.8")] 527 public string dup_calendar_url (); 528 [Version (since = "3.8")] 529 public string dup_contacts_url (); 530 public unowned string get_account_id (); 531 [Version (since = "3.8")] 532 public unowned string get_calendar_url (); 533 [Version (since = "3.8")] 534 public unowned string get_contacts_url (); 535 public void set_account_id (string? account_id); 536 [Version (since = "3.8")] 537 public void set_calendar_url (string? calendar_url); 538 [Version (since = "3.8")] 539 public void set_contacts_url (string? contacts_url); 540 public string account_id { get; set construct; } 541 public string calendar_url { get; set construct; } 542 public string contacts_url { get; set construct; } 543 } 544 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_ldap_get_type ()")] 545 public class SourceLDAP : E.SourceExtension { 546 [CCode (has_construct_function = false)] 547 protected SourceLDAP (); 548 public string dup_filter (); 549 public string dup_root_dn (); 550 public E.SourceLDAPAuthentication get_authentication (); 551 public bool get_can_browse (); 552 public unowned string get_filter (); 553 public uint get_limit (); 554 public unowned string get_root_dn (); 555 public E.SourceLDAPScope get_scope (); 556 public E.SourceLDAPSecurity get_security (); 557 public void set_authentication (E.SourceLDAPAuthentication authentication); 558 public void set_can_browse (bool can_browse); 559 public void set_filter (string filter); 560 public void set_limit (uint limit); 561 public void set_root_dn (string root_dn); 562 public void set_scope (E.SourceLDAPScope scope); 563 public void set_security (E.SourceLDAPSecurity security); 564 public E.SourceLDAPAuthentication authentication { get; set; } 565 public bool can_browse { get; set construct; } 566 public string filter { get; set construct; } 567 public uint limit { get; set construct; } 568 public string root_dn { get; set construct; } 569 public E.SourceLDAPScope scope { get; set construct; } 570 public E.SourceLDAPSecurity security { get; set; } 571 } 572 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_local_get_type ()")] 573 public class SourceLocal : E.SourceExtension { 574 [CCode (has_construct_function = false)] 575 protected SourceLocal (); 576 public GLib.File dup_custom_file (); 577 public unowned GLib.File get_custom_file (); 578 public void set_custom_file (GLib.File custom_file); 579 public GLib.File custom_file { get; set construct; } 580 } 581 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mdn_get_type ()")] 582 [Version (since = "3.6")] 583 public class SourceMDN : E.SourceExtension { 584 [CCode (has_construct_function = false)] 585 protected SourceMDN (); 586 public E.MdnResponsePolicy get_response_policy (); 587 public void set_response_policy (E.MdnResponsePolicy response_policy); 588 public E.MdnResponsePolicy response_policy { get; set construct; } 589 } 590 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_account_get_type ()")] 591 [Version (since = "3.6")] 592 public class SourceMailAccount : E.SourceBackend { 593 [CCode (has_construct_function = false)] 594 protected SourceMailAccount (); 595 [Version (since = "3.16")] 596 public string dup_archive_folder (); 597 public string dup_identity_uid (); 598 [Version (since = "3.16")] 599 public unowned string get_archive_folder (); 600 public unowned string get_identity_uid (); 601 [Version (since = "3.20")] 602 public bool get_needs_initial_setup (); 603 [Version (since = "3.16")] 604 public void set_archive_folder (string? archive_folder); 605 public void set_identity_uid (string? identity_uid); 606 [Version (since = "3.20")] 607 public void set_needs_initial_setup (bool needs_initial_setup); 608 public string archive_folder { get; set construct; } 609 public string identity_uid { get; set construct; } 610 public bool needs_initial_setup { get; set construct; } 611 } 612 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_composition_get_type ()")] 613 [Version (since = "3.6")] 614 public class SourceMailComposition : E.SourceExtension { 615 [CCode (has_construct_function = false)] 616 protected SourceMailComposition (); 617 [CCode (array_length = false, array_null_terminated = true)] 618 public string[] dup_bcc (); 619 [CCode (array_length = false, array_null_terminated = true)] 620 public string[] dup_cc (); 621 public string dup_drafts_folder (); 622 public string dup_templates_folder (); 623 [CCode (array_length = false, array_null_terminated = true)] 624 public unowned string[] get_bcc (); 625 [CCode (array_length = false, array_null_terminated = true)] 626 public unowned string[] get_cc (); 627 public unowned string get_drafts_folder (); 628 [Version (since = "3.20")] 629 public E.SourceMailCompositionReplyStyle get_reply_style (); 630 public bool get_sign_imip (); 631 public unowned string get_templates_folder (); 632 public void set_bcc (string? bcc); 633 public void set_cc (string? cc); 634 public void set_drafts_folder (string? drafts_folder); 635 [Version (since = "3.20")] 636 public void set_reply_style (E.SourceMailCompositionReplyStyle reply_style); 637 public void set_sign_imip (bool sign_imip); 638 public void set_templates_folder (string? templates_folder); 639 [CCode (array_length = false, array_null_terminated = true)] 640 public string[] bcc { get; set construct; } 641 [CCode (array_length = false, array_null_terminated = true)] 642 public string[] cc { get; set construct; } 643 public string drafts_folder { get; set construct; } 644 public E.SourceMailCompositionReplyStyle reply_style { get; set construct; } 645 public bool sign_imip { get; set construct; } 646 public string templates_folder { get; set construct; } 647 } 648 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_identity_get_type ()")] 649 [Version (since = "3.6")] 650 public class SourceMailIdentity : E.SourceExtension { 651 [CCode (has_construct_function = false)] 652 protected SourceMailIdentity (); 653 public string dup_address (); 654 [Version (since = "3.24")] 655 public string dup_aliases (); 656 public string dup_name (); 657 public string dup_organization (); 658 public string dup_reply_to (); 659 public string dup_signature_uid (); 660 public unowned string get_address (); 661 [Version (since = "3.24")] 662 public unowned string get_aliases (); 663 [Version (since = "3.24")] 664 public GLib.HashTable<void*,void*> get_aliases_as_hash_table (); 665 public unowned string get_name (); 666 public unowned string get_organization (); 667 public unowned string get_reply_to (); 668 public unowned string get_signature_uid (); 669 public void set_address (string? address); 670 [Version (since = "3.24")] 671 public void set_aliases (string? aliases); 672 public void set_name (string? name); 673 public void set_organization (string? organization); 674 public void set_reply_to (string? reply_to); 675 public void set_signature_uid (string? signature_uid); 676 public string address { get; set construct; } 677 public string aliases { get; set construct; } 678 public string name { get; set construct; } 679 public string organization { get; set construct; } 680 public string reply_to { get; set construct; } 681 public string signature_uid { get; set construct; } 682 } 683 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_signature_get_type ()")] 684 [Version (since = "3.6")] 685 public class SourceMailSignature : E.SourceExtension { 686 [CCode (has_construct_function = false)] 687 protected SourceMailSignature (); 688 public string dup_mime_type (); 689 public unowned GLib.File get_file (); 690 public unowned string get_mime_type (); 691 public void set_mime_type (string? mime_type); 692 public GLib.File file { get; } 693 public string mime_type { get; set construct; } 694 } 695 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_submission_get_type ()")] 696 [Version (since = "3.6")] 697 public class SourceMailSubmission : E.SourceExtension { 698 [CCode (has_construct_function = false)] 699 protected SourceMailSubmission (); 700 public string dup_sent_folder (); 701 public string dup_transport_uid (); 702 [Version (since = "3.8")] 703 public bool get_replies_to_origin_folder (); 704 public unowned string get_sent_folder (); 705 public unowned string get_transport_uid (); 706 [Version (since = "3.8")] 707 public void set_replies_to_origin_folder (bool replies_to_origin_folder); 708 public void set_sent_folder (string? sent_folder); 709 public void set_transport_uid (string? transport_uid); 710 public bool replies_to_origin_folder { get; set construct; } 711 public string sent_folder { get; set construct; } 712 public string transport_uid { get; set construct; } 713 } 714 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_mail_transport_get_type ()")] 715 [Version (since = "3.6")] 716 public class SourceMailTransport : E.SourceBackend { 717 [CCode (has_construct_function = false)] 718 protected SourceMailTransport (); 719 } 720 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_memo_list_get_type ()")] 721 [Version (since = "3.6")] 722 public class SourceMemoList : E.SourceSelectable { 723 [CCode (has_construct_function = false)] 724 protected SourceMemoList (); 725 } 726 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_offline_get_type ()")] 727 [Version (since = "3.6")] 728 public class SourceOffline : E.SourceExtension { 729 [CCode (has_construct_function = false)] 730 protected SourceOffline (); 731 public bool get_stay_synchronized (); 732 public void set_stay_synchronized (bool stay_synchronized); 733 public bool stay_synchronized { get; set construct; } 734 } 735 [CCode (cheader_filename = "libedataserver/libedataserver.h", lower_case_csuffix = "source_openpgp", type_id = "e_source_openpgp_get_type ()")] 736 [Version (since = "3.6")] 737 public class SourceOpenPGP : E.SourceExtension { 738 [CCode (has_construct_function = false)] 739 protected SourceOpenPGP (); 740 public string dup_key_id (); 741 public string dup_signing_algorithm (); 742 public bool get_always_trust (); 743 [Version (since = "3.18")] 744 public bool get_encrypt_by_default (); 745 public bool get_encrypt_to_self (); 746 public unowned string get_key_id (); 747 [Version (since = "3.20")] 748 public bool get_prefer_inline (); 749 public bool get_sign_by_default (); 750 public unowned string get_signing_algorithm (); 751 public void set_always_trust (bool always_trust); 752 [Version (since = "3.18")] 753 public void set_encrypt_by_default (bool encrypt_by_default); 754 public void set_encrypt_to_self (bool encrypt_to_self); 755 public void set_key_id (string key_id); 756 [Version (since = "3.20")] 757 public void set_prefer_inline (bool prefer_inline); 758 public void set_sign_by_default (bool sign_by_default); 759 public void set_signing_algorithm (string signing_algorithm); 760 public bool always_trust { get; set construct; } 761 public bool encrypt_by_default { get; set construct; } 762 public bool encrypt_to_self { get; set construct; } 763 public string key_id { get; set construct; } 764 public bool prefer_inline { get; set construct; } 765 public bool sign_by_default { get; set construct; } 766 public string signing_algorithm { get; set construct; } 767 } 768 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_proxy_get_type ()")] 769 [Version (since = "3.12")] 770 public class SourceProxy : E.SourceExtension { 771 [CCode (has_construct_function = false)] 772 protected SourceProxy (); 773 public string dup_autoconfig_url (); 774 public string dup_ftp_host (); 775 public string dup_http_auth_password (); 776 public string dup_http_auth_user (); 777 public string dup_http_host (); 778 public string dup_https_host (); 779 [CCode (array_length = false, array_null_terminated = true)] 780 public string[] dup_ignore_hosts (); 781 public string dup_socks_host (); 782 public unowned string get_autoconfig_url (); 783 public unowned string get_ftp_host (); 784 public uint16 get_ftp_port (); 785 public unowned string get_http_auth_password (); 786 public unowned string get_http_auth_user (); 787 public unowned string get_http_host (); 788 public uint16 get_http_port (); 789 public bool get_http_use_auth (); 790 public unowned string get_https_host (); 791 public uint16 get_https_port (); 792 [CCode (array_length = false, array_null_terminated = true)] 793 public unowned string[] get_ignore_hosts (); 794 public E.ProxyMethod get_method (); 795 public unowned string get_socks_host (); 796 public uint16 get_socks_port (); 797 public void set_autoconfig_url (string autoconfig_url); 798 public void set_ftp_host (string ftp_host); 799 public void set_ftp_port (uint16 ftp_port); 800 public void set_http_auth_password (string http_auth_password); 801 public void set_http_auth_user (string http_auth_user); 802 public void set_http_host (string http_host); 803 public void set_http_port (uint16 http_port); 804 public void set_http_use_auth (bool http_use_auth); 805 public void set_https_host (string https_host); 806 public void set_https_port (uint16 https_port); 807 public void set_ignore_hosts (string ignore_hosts); 808 public void set_method (E.ProxyMethod method); 809 public void set_socks_host (string socks_host); 810 public void set_socks_port (uint16 socks_port); 811 public string autoconfig_url { get; set construct; } 812 public string ftp_host { get; set construct; } 813 public uint ftp_port { get; set construct; } 814 public string http_auth_password { get; set construct; } 815 public string http_auth_user { get; set construct; } 816 public string http_host { get; set construct; } 817 public uint http_port { get; set construct; } 818 public bool http_use_auth { get; set construct; } 819 public string https_host { get; set construct; } 820 public uint https_port { get; set construct; } 821 [CCode (array_length = false, array_null_terminated = true)] 822 public string[] ignore_hosts { get; set construct; } 823 public E.ProxyMethod method { get; set construct; } 824 public string socks_host { get; set construct; } 825 public uint socks_port { get; set construct; } 826 } 827 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_refresh_get_type ()")] 828 [Version (since = "3.6")] 829 public class SourceRefresh : E.SourceExtension { 830 [CCode (has_construct_function = false)] 831 protected SourceRefresh (); 832 public bool get_enabled (); 833 public uint get_interval_minutes (); 834 public void set_enabled (bool enabled); 835 public void set_interval_minutes (uint interval_minutes); 836 public bool enabled { get; set construct; } 837 public uint interval_minutes { get; set construct; } 838 } 839 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_registry_get_type ()")] 840 [Version (since = "3.6")] 841 public class SourceRegistry : GLib.Object, GLib.AsyncInitable, GLib.Initable { 842 [CCode (cname = "e_source_registry_new", has_construct_function = false)] 843 public async SourceRegistry (GLib.Cancellable? cancellable) throws GLib.Error; 844 [Version (since = "3.8")] 845 public bool check_enabled (E.Source source); 846 public async bool commit_source (E.Source source, GLib.Cancellable? cancellable) throws GLib.Error; 847 public bool commit_source_sync (E.Source source, GLib.Cancellable? cancellable = null) throws GLib.Error; 848 public async bool create_sources (GLib.List<E.Source> list_of_sources, GLib.Cancellable? cancellable) throws GLib.Error; 849 public bool create_sources_sync (GLib.List<E.Source> list_of_sources, GLib.Cancellable? cancellable = null) throws GLib.Error; 850 public void debug_dump (string? extension_name); 851 [Version (since = "3.16")] 852 public static bool debug_enabled (); 853 [Version (since = "3.8")] 854 public string dup_unique_display_name (E.Source source, string? extension_name); 855 public E.Source find_extension (E.Source source, string extension_name); 856 public static void free_display_tree (GLib.Node display_tree); 857 [Version (since = "3.10")] 858 public GLib.List<E.Source> list_enabled (string? extension_name); 859 public GLib.List<E.Source> list_sources (string? extension_name); 860 public E.Source ref_builtin_address_book (); 861 public E.Source ref_builtin_calendar (); 862 public E.Source ref_builtin_mail_account (); 863 public E.Source ref_builtin_memo_list (); 864 [Version (since = "3.12")] 865 public E.Source ref_builtin_proxy (); 866 public E.Source ref_builtin_task_list (); 867 public E.Source ref_default_address_book (); 868 public E.Source ref_default_calendar (); 869 public E.Source ref_default_for_extension_name (string extension_name); 870 public E.Source ref_default_mail_account (); 871 public E.Source ref_default_mail_identity (); 872 public E.Source ref_default_memo_list (); 873 public E.Source ref_default_task_list (); 874 public E.Source ref_source (string uid); 875 public void set_default_address_book (E.Source? default_source); 876 public void set_default_calendar (E.Source? default_source); 877 public void set_default_for_extension_name (string extension_name, E.Source? default_source); 878 public void set_default_mail_account (E.Source? default_source); 879 public void set_default_mail_identity (E.Source? default_source); 880 public void set_default_memo_list (E.Source? default_source); 881 public void set_default_task_list (E.Source? default_source); 882 [CCode (has_construct_function = false)] 883 public SourceRegistry.sync (GLib.Cancellable? cancellable = null) throws GLib.Error; 884 [NoAccessorMethod] 885 public E.Source default_address_book { owned get; set; } 886 [NoAccessorMethod] 887 public E.Source default_calendar { owned get; set; } 888 [NoAccessorMethod] 889 public E.Source default_mail_account { owned get; set; } 890 [NoAccessorMethod] 891 public E.Source default_mail_identity { owned get; set; } 892 [NoAccessorMethod] 893 public E.Source default_memo_list { owned get; set; } 894 [NoAccessorMethod] 895 public E.Source default_task_list { owned get; set; } 896 public virtual signal void credentials_required (E.Source source, E.SourceCredentialsReason reason, string certificate_pem, GLib.TlsCertificateFlags certificate_errors, GLib.Error op_error); 897 public virtual signal void source_added (E.Source source); 898 public virtual signal void source_changed (E.Source source); 899 public virtual signal void source_disabled (E.Source source); 900 public virtual signal void source_enabled (E.Source source); 901 public virtual signal void source_removed (E.Source source); 902 } 903 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_resource_get_type ()")] 904 [Version (since = "3.6")] 905 public class SourceResource : E.SourceExtension { 906 [CCode (has_construct_function = false)] 907 protected SourceResource (); 908 public string dup_identity (); 909 public unowned string get_identity (); 910 public void set_identity (string? identity); 911 public string identity { get; set construct; } 912 } 913 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_revision_guards_get_type ()")] 914 [Version (since = "3.8")] 915 public class SourceRevisionGuards : E.SourceExtension { 916 [CCode (has_construct_function = false)] 917 protected SourceRevisionGuards (); 918 public bool get_enabled (); 919 public void set_enabled (bool enabled); 920 public bool enabled { get; set construct; } 921 } 922 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_smime_get_type ()")] 923 [Version (since = "3.6")] 924 public class SourceSMIME : E.SourceExtension { 925 [CCode (has_construct_function = false)] 926 protected SourceSMIME (); 927 public string dup_encryption_certificate (); 928 public string dup_signing_algorithm (); 929 public string dup_signing_certificate (); 930 public bool get_encrypt_by_default (); 931 public bool get_encrypt_to_self (); 932 public unowned string get_encryption_certificate (); 933 public bool get_sign_by_default (); 934 public unowned string get_signing_algorithm (); 935 public unowned string get_signing_certificate (); 936 public void set_encrypt_by_default (bool encrypt_by_default); 937 public void set_encrypt_to_self (bool encrypt_to_self); 938 public void set_encryption_certificate (string? encryption_certificate); 939 public void set_sign_by_default (bool sign_by_default); 940 public void set_signing_algorithm (string? signing_algorithm); 941 public void set_signing_certificate (string? signing_certificate); 942 public bool encrypt_by_default { get; set construct; } 943 public bool encrypt_to_self { get; set construct; } 944 public string encryption_certificate { get; set construct; } 945 public bool sign_by_default { get; set construct; } 946 public string signing_algorithm { get; set construct; } 947 public string signing_certificate { get; set construct; } 948 } 949 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_security_get_type ()")] 950 [Version (since = "3.6")] 951 public class SourceSecurity : E.SourceExtension { 952 [CCode (has_construct_function = false)] 953 protected SourceSecurity (); 954 public string dup_method (); 955 public unowned string get_method (); 956 public bool get_secure (); 957 public void set_method (string? method); 958 public void set_secure (bool secure); 959 public string method { get; set construct; } 960 public bool secure { get; set; } 961 } 962 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_selectable_get_type ()")] 963 [Version (since = "3.6")] 964 public abstract class SourceSelectable : E.SourceBackend { 965 [CCode (has_construct_function = false)] 966 protected SourceSelectable (); 967 public string dup_color (); 968 public unowned string get_color (); 969 public bool get_selected (); 970 public void set_color (string? color); 971 public void set_selected (bool selected); 972 public string color { get; set construct; } 973 public bool selected { get; set construct; } 974 } 975 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_task_list_get_type ()")] 976 [Version (since = "3.6")] 977 public class SourceTaskList : E.SourceSelectable { 978 [CCode (has_construct_function = false)] 979 protected SourceTaskList (); 980 } 981 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_uoa_get_type ()")] 982 [Version (since = "3.8")] 983 public class SourceUoa : E.SourceExtension { 984 [CCode (has_construct_function = false)] 985 protected SourceUoa (); 986 public uint get_account_id (); 987 public void set_account_id (uint account_id); 988 public uint account_id { get; set construct; } 989 } 990 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_weather_get_type ()")] 991 public class SourceWeather : E.SourceExtension { 992 [CCode (has_construct_function = false)] 993 protected SourceWeather (); 994 public string dup_location (); 995 public unowned string get_location (); 996 public E.SourceWeatherUnits get_units (); 997 public void set_location (string location); 998 public void set_units (E.SourceWeatherUnits units); 999 public string location { get; set construct; } 1000 public E.SourceWeatherUnits units { get; set construct; } 1001 } 1002 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_id = "e_source_webdav_get_type ()")] 1003 [Version (since = "3.6")] 1004 public class SourceWebdav : E.SourceExtension { 1005 [CCode (has_construct_function = false)] 1006 protected SourceWebdav (); 1007 public string dup_display_name (); 1008 public string dup_email_address (); 1009 public string dup_resource_path (); 1010 public string dup_resource_query (); 1011 public Soup.URI dup_soup_uri (); 1012 [Version (since = "3.8")] 1013 public string dup_ssl_trust (); 1014 public bool get_avoid_ifmatch (); 1015 public bool get_calendar_auto_schedule (); 1016 public unowned string get_display_name (); 1017 public unowned string get_email_address (); 1018 public unowned string get_resource_path (); 1019 public unowned string get_resource_query (); 1020 [Version (since = "3.8")] 1021 public unowned string get_ssl_trust (); 1022 public void set_avoid_ifmatch (bool avoid_ifmatch); 1023 public void set_calendar_auto_schedule (bool calendar_auto_schedule); 1024 public void set_display_name (string? display_name); 1025 public void set_email_address (string? email_address); 1026 public void set_resource_path (string? resource_path); 1027 public void set_resource_query (string? resource_query); 1028 public void set_soup_uri (Soup.URI soup_uri); 1029 [Version (since = "3.8")] 1030 public void set_ssl_trust (string? ssl_trust); 1031 [Version (since = "3.8")] 1032 public void unset_temporary_ssl_trust (); 1033 [Version (since = "3.16")] 1034 public void update_ssl_trust (string host, GLib.TlsCertificate cert, E.TrustPromptResponse response); 1035 public E.TrustPromptResponse verify_ssl_trust (string host, GLib.TlsCertificate cert, GLib.TlsCertificateFlags cert_errors); 1036 public bool avoid_ifmatch { get; set construct; } 1037 public bool calendar_auto_schedule { get; set construct; } 1038 public string display_name { get; set construct; } 1039 public string email_address { get; set construct; } 1040 public string resource_path { get; set construct; } 1041 public string resource_query { get; set construct; } 1042 [NoAccessorMethod] 1043 public Soup.URI soup_uri { owned get; set; } 1044 public string ssl_trust { get; set construct; } 1045 } 1046 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 1047 [Compact] 1048 public class XmlHash { 1049 [CCode (cname = "e_xmlhash_add")] 1050 public static void xmlhash_add (E.XmlHash hash, string key, string data); 1051 [CCode (cname = "e_xmlhash_compare")] 1052 public static E.XmlHashStatus xmlhash_compare (E.XmlHash hash, string key, string compare_data); 1053 [CCode (cname = "e_xmlhash_destroy")] 1054 public static void xmlhash_destroy (E.XmlHash hash); 1055 [CCode (cname = "e_xmlhash_foreach_key")] 1056 public static void xmlhash_foreach_key (E.XmlHash hash, [CCode (scope = "async")] E.XmlHashFunc func); 1057 [CCode (cname = "e_xmlhash_foreach_key_remove")] 1058 public static void xmlhash_foreach_key_remove (E.XmlHash hash, [CCode (scope = "async")] E.XmlHashRemoveFunc func); 1059 [CCode (cname = "e_xmlhash_new")] 1060 public static E.XmlHash xmlhash_new (string filename); 1061 [CCode (cname = "e_xmlhash_remove")] 1062 public static void xmlhash_remove (E.XmlHash hash, string key); 1063 [CCode (cname = "e_xmlhash_write")] 1064 public static void xmlhash_write (E.XmlHash hash); 1065 } 1066 [CCode (cheader_filename = "libedataserver/libedataserver.h", type_cname = "EExtensibleInterface", type_id = "e_extensible_get_type ()")] 1067 public interface Extensible : GLib.Object { 1068 [Version (since = "3.4")] 1069 public GLib.List<weak E.Extension> list_extensions (GLib.Type extension_type); 1070 [Version (since = "3.4")] 1071 public void load_extensions (); 1072 } 1073 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 1074 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 1075 public struct ClientErrorsList { 1076 public weak string name; 1077 public int err_code; 1078 } 1079 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 1080 public struct FreeFormExpSymbol { 1081 public weak string names; 1082 public weak string hint; 1083 public weak E.FreeFormExpBuildSexpFunc build_sexp; 1084 } 1085 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_type_id = false)] 1086 public struct WebDAVDiscoveredSource { 1087 public weak string href; 1088 public uint32 supports; 1089 public weak string display_name; 1090 public weak string description; 1091 public weak string color; 1092 } 1093 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_CLIENT_ERROR_", has_type_id = false)] 1094 [Version (since = "3.2")] 1095 public enum ClientError { 1096 INVALID_ARG, 1097 BUSY, 1098 SOURCE_NOT_LOADED, 1099 SOURCE_ALREADY_LOADED, 1100 AUTHENTICATION_FAILED, 1101 AUTHENTICATION_REQUIRED, 1102 REPOSITORY_OFFLINE, 1103 OFFLINE_UNAVAILABLE, 1104 PERMISSION_DENIED, 1105 CANCELLED, 1106 COULD_NOT_CANCEL, 1107 NOT_SUPPORTED, 1108 TLS_NOT_AVAILABLE, 1109 UNSUPPORTED_AUTHENTICATION_METHOD, 1110 SEARCH_SIZE_LIMIT_EXCEEDED, 1111 SEARCH_TIME_LIMIT_EXCEEDED, 1112 INVALID_QUERY, 1113 QUERY_REFUSED, 1114 DBUS_ERROR, 1115 OTHER_ERROR, 1116 NOT_OPENED, 1117 OUT_OF_SYNC 1118 } 1119 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_MDN_RESPONSE_POLICY_", type_id = "e_mdn_response_policy_get_type ()")] 1120 [Version (since = "3.6")] 1121 public enum MdnResponsePolicy { 1122 NEVER, 1123 ALWAYS, 1124 ASK 1125 } 1126 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_PROXY_METHOD_", type_id = "e_proxy_method_get_type ()")] 1127 [Version (since = "3.12")] 1128 public enum ProxyMethod { 1129 DEFAULT, 1130 MANUAL, 1131 AUTO, 1132 NONE 1133 } 1134 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_AUTHENTICATION_", type_id = "e_source_authentication_result_get_type ()")] 1135 [Version (since = "3.6")] 1136 public enum SourceAuthenticationResult { 1137 ERROR, 1138 ERROR_SSL_FAILED, 1139 ACCEPTED, 1140 REJECTED, 1141 REQUIRED 1142 } 1143 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_CONNECTION_STATUS_", type_id = "e_source_connection_status_get_type ()")] 1144 [Version (since = "3.16")] 1145 public enum SourceConnectionStatus { 1146 DISCONNECTED, 1147 AWAITING_CREDENTIALS, 1148 SSL_FAILED, 1149 CONNECTING, 1150 CONNECTED 1151 } 1152 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_CREDENTIALS_REASON_", type_id = "e_source_credentials_reason_get_type ()")] 1153 [Version (since = "3.16")] 1154 public enum SourceCredentialsReason { 1155 UNKNOWN, 1156 REQUIRED, 1157 REJECTED, 1158 SSL_FAILED, 1159 ERROR 1160 } 1161 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_LDAP_AUTHENTICATION_", type_id = "e_source_ldap_authentication_get_type ()")] 1162 [Version (since = "3.18")] 1163 public enum SourceLDAPAuthentication { 1164 NONE, 1165 EMAIL, 1166 BINDDN 1167 } 1168 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_LDAP_SCOPE_", type_id = "e_source_ldap_scope_get_type ()")] 1169 [Version (since = "3.18")] 1170 public enum SourceLDAPScope { 1171 ONELEVEL, 1172 SUBTREE 1173 } 1174 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_LDAP_SECURITY_", type_id = "e_source_ldap_security_get_type ()")] 1175 [Version (since = "3.18")] 1176 public enum SourceLDAPSecurity { 1177 NONE, 1178 LDAPS, 1179 STARTTLS 1180 } 1181 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_MAIL_COMPOSITION_REPLY_STYLE_", type_id = "e_source_mail_composition_reply_style_get_type ()")] 1182 [Version (since = "3.20")] 1183 public enum SourceMailCompositionReplyStyle { 1184 DEFAULT, 1185 QUOTED, 1186 DO_NOT_QUOTE, 1187 ATTACH, 1188 OUTLOOK 1189 } 1190 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_SOURCE_WEATHER_UNITS_", type_id = "e_source_weather_units_get_type ()")] 1191 [Version (since = "3.18")] 1192 public enum SourceWeatherUnits { 1193 FAHRENHEIT, 1194 CENTIGRADE, 1195 KELVIN 1196 } 1197 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_TIME_PARSE_", has_type_id = false)] 1198 public enum TimeParseStatus { 1199 OK, 1200 NONE, 1201 INVALID 1202 } 1203 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_TRUST_PROMPT_RESPONSE_", type_id = "e_trust_prompt_response_get_type ()")] 1204 [Version (since = "3.8")] 1205 public enum TrustPromptResponse { 1206 UNKNOWN, 1207 REJECT, 1208 ACCEPT, 1209 ACCEPT_TEMPORARILY, 1210 REJECT_TEMPORARILY 1211 } 1212 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_WEBDAV_DISCOVER_SUPPORTS_", has_type_id = false)] 1213 [Flags] 1214 public enum WebDAVDiscoverSupports { 1215 NONE, 1216 CONTACTS, 1217 EVENTS, 1218 MEMOS, 1219 TASKS 1220 } 1221 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_XMLHASH_STATUS_", has_type_id = false)] 1222 public enum XmlHashStatus { 1223 SAME, 1224 DIFFERENT, 1225 NOT_FOUND 1226 } 1227 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_XML_HASH_TYPE_", has_type_id = false)] 1228 public enum XmlHashType { 1229 OBJECT_UID, 1230 PROPERTY 1231 } 1232 [CCode (cheader_filename = "libedataserver/libedataserver.h", cprefix = "E_COLLATOR_ERROR_")] 1233 public errordomain CollatorError { 1234 OPEN, 1235 CONVERSION, 1236 INVALID_LOCALE; 1237 public static GLib.Quark quark (); 1238 } 1239 [CCode (cheader_filename = "libedataserver/libedataserver.h", has_target = false)] 1240 public delegate string FreeFormExpBuildSexpFunc (string word, string options, string hint); 1241 [CCode (cheader_filename = "libedataserver/libedataserver.h", instance_pos = 1.9)] 1242 [Version (since = "3.6")] 1243 public delegate void SourceRefreshFunc (E.Source source); 1244 [CCode (cheader_filename = "libedataserver/libedataserver.h", instance_pos = 1.9)] 1245 [Version (since = "3.4")] 1246 public delegate void TypeFunc (GLib.Type type); 1247 [CCode (cheader_filename = "libedataserver/libedataserver.h", instance_pos = 2.9)] 1248 public delegate void XmlHashFunc (string key, string value); 1249 [CCode (cheader_filename = "libedataserver/libedataserver.h", instance_pos = 2.9)] 1250 public delegate bool XmlHashRemoveFunc (string key, string value); 1251 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_CACHE_DIR")] 1252 [Version (since = "3.2")] 1253 public const string CLIENT_BACKEND_PROPERTY_CACHE_DIR; 1254 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_CAPABILITIES")] 1255 [Version (since = "3.2")] 1256 public const string CLIENT_BACKEND_PROPERTY_CAPABILITIES; 1257 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_ONLINE")] 1258 [Version (since = "3.2")] 1259 public const string CLIENT_BACKEND_PROPERTY_ONLINE; 1260 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_OPENED")] 1261 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 1262 public const string CLIENT_BACKEND_PROPERTY_OPENED; 1263 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_OPENING")] 1264 [Version (deprecated = true, deprecated_since = "3.8", since = "3.2")] 1265 public const string CLIENT_BACKEND_PROPERTY_OPENING; 1266 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_READONLY")] 1267 [Version (since = "3.2")] 1268 public const string CLIENT_BACKEND_PROPERTY_READONLY; 1269 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "CLIENT_BACKEND_PROPERTY_REVISION")] 1270 [Version (since = "3.4")] 1271 public const string CLIENT_BACKEND_PROPERTY_REVISION; 1272 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_DEBUG_LOG_DOMAIN_CAL_QUERIES")] 1273 [Version (since = "2.32")] 1274 public const string DEBUG_LOG_DOMAIN_CAL_QUERIES; 1275 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_DEBUG_LOG_DOMAIN_GLOG")] 1276 [Version (since = "2.32")] 1277 public const string DEBUG_LOG_DOMAIN_GLOG; 1278 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_DEBUG_LOG_DOMAIN_USER")] 1279 [Version (since = "2.32")] 1280 public const string DEBUG_LOG_DOMAIN_USER; 1281 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "EDS_MAJOR_VERSION")] 1282 public const int EDS_MAJOR_VERSION; 1283 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "EDS_MICRO_VERSION")] 1284 public const int EDS_MICRO_VERSION; 1285 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "EDS_MINOR_VERSION")] 1286 public const int EDS_MINOR_VERSION; 1287 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_GOOGLE_SECRET_ACCESS_TOKEN")] 1288 public const string GOOGLE_SECRET_ACCESS_TOKEN; 1289 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_GOOGLE_SECRET_EXPIRES_AFTER")] 1290 public const string GOOGLE_SECRET_EXPIRES_AFTER; 1291 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_GOOGLE_SECRET_REFRESH_TOKEN")] 1292 public const string GOOGLE_SECRET_REFRESH_TOKEN; 1293 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_NETWORK_MONITOR_ALWAYS_ONLINE_NAME")] 1294 [Version (since = "3.22")] 1295 public const string NETWORK_MONITOR_ALWAYS_ONLINE_NAME; 1296 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_CREDENTIAL_GOOGLE_SECRET")] 1297 public const string SOURCE_CREDENTIAL_GOOGLE_SECRET; 1298 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_CREDENTIAL_PASSWORD")] 1299 [Version (since = "3.16")] 1300 public const string SOURCE_CREDENTIAL_PASSWORD; 1301 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_CREDENTIAL_SSL_TRUST")] 1302 [Version (since = "3.16")] 1303 public const string SOURCE_CREDENTIAL_SSL_TRUST; 1304 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_CREDENTIAL_USERNAME")] 1305 [Version (since = "3.16")] 1306 public const string SOURCE_CREDENTIAL_USERNAME; 1307 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_ADDRESS_BOOK")] 1308 [Version (since = "3.6")] 1309 public const string SOURCE_EXTENSION_ADDRESS_BOOK; 1310 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_ALARMS")] 1311 [Version (since = "3.6")] 1312 public const string SOURCE_EXTENSION_ALARMS; 1313 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_AUTHENTICATION")] 1314 [Version (since = "3.6")] 1315 public const string SOURCE_EXTENSION_AUTHENTICATION; 1316 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_AUTOCOMPLETE")] 1317 [Version (since = "3.6")] 1318 public const string SOURCE_EXTENSION_AUTOCOMPLETE; 1319 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_CALENDAR")] 1320 [Version (since = "3.6")] 1321 public const string SOURCE_EXTENSION_CALENDAR; 1322 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_COLLECTION")] 1323 [Version (since = "3.6")] 1324 public const string SOURCE_EXTENSION_COLLECTION; 1325 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_CONTACTS_BACKEND")] 1326 public const string SOURCE_EXTENSION_CONTACTS_BACKEND; 1327 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_GOA")] 1328 [Version (since = "3.6")] 1329 public const string SOURCE_EXTENSION_GOA; 1330 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_LDAP_BACKEND")] 1331 public const string SOURCE_EXTENSION_LDAP_BACKEND; 1332 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_LOCAL_BACKEND")] 1333 public const string SOURCE_EXTENSION_LOCAL_BACKEND; 1334 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_ACCOUNT")] 1335 [Version (since = "3.6")] 1336 public const string SOURCE_EXTENSION_MAIL_ACCOUNT; 1337 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_COMPOSITION")] 1338 [Version (since = "3.6")] 1339 public const string SOURCE_EXTENSION_MAIL_COMPOSITION; 1340 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_IDENTITY")] 1341 [Version (since = "3.6")] 1342 public const string SOURCE_EXTENSION_MAIL_IDENTITY; 1343 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_SIGNATURE")] 1344 [Version (since = "3.6")] 1345 public const string SOURCE_EXTENSION_MAIL_SIGNATURE; 1346 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_SUBMISSION")] 1347 [Version (since = "3.6")] 1348 public const string SOURCE_EXTENSION_MAIL_SUBMISSION; 1349 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MAIL_TRANSPORT")] 1350 [Version (since = "3.6")] 1351 public const string SOURCE_EXTENSION_MAIL_TRANSPORT; 1352 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MDN")] 1353 [Version (since = "3.6")] 1354 public const string SOURCE_EXTENSION_MDN; 1355 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_MEMO_LIST")] 1356 [Version (since = "3.6")] 1357 public const string SOURCE_EXTENSION_MEMO_LIST; 1358 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_OFFLINE")] 1359 [Version (since = "3.6")] 1360 public const string SOURCE_EXTENSION_OFFLINE; 1361 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_OPENPGP")] 1362 [Version (since = "3.6")] 1363 public const string SOURCE_EXTENSION_OPENPGP; 1364 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_PROXY")] 1365 [Version (since = "3.12")] 1366 public const string SOURCE_EXTENSION_PROXY; 1367 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_REFRESH")] 1368 [Version (since = "3.6")] 1369 public const string SOURCE_EXTENSION_REFRESH; 1370 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_RESOURCE")] 1371 [Version (since = "3.6")] 1372 public const string SOURCE_EXTENSION_RESOURCE; 1373 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_REVISION_GUARDS")] 1374 [Version (since = "3.8")] 1375 public const string SOURCE_EXTENSION_REVISION_GUARDS; 1376 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_SECURITY")] 1377 [Version (since = "3.6")] 1378 public const string SOURCE_EXTENSION_SECURITY; 1379 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_SMIME")] 1380 [Version (since = "3.6")] 1381 public const string SOURCE_EXTENSION_SMIME; 1382 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_TASK_LIST")] 1383 [Version (since = "3.6")] 1384 public const string SOURCE_EXTENSION_TASK_LIST; 1385 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_UOA")] 1386 [Version (since = "3.8")] 1387 public const string SOURCE_EXTENSION_UOA; 1388 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_WEATHER_BACKEND")] 1389 public const string SOURCE_EXTENSION_WEATHER_BACKEND; 1390 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_EXTENSION_WEBDAV_BACKEND")] 1391 [Version (since = "3.6")] 1392 public const string SOURCE_EXTENSION_WEBDAV_BACKEND; 1393 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "E_SOURCE_PARAM_SETTING")] 1394 [Version (since = "3.6")] 1395 public const int SOURCE_PARAM_SETTING; 1396 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1397 [Version (since = "3.16")] 1398 public static unowned GLib.Binding binding_bind_property (void* source, string source_property, void* target, string target_property, GLib.BindingFlags flags); 1399 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1400 [Version (since = "3.16")] 1401 public static unowned GLib.Binding binding_bind_property_full (GLib.Object source, string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags, GLib.BindingTransformFunc? transform_to, owned GLib.BindingTransformFunc? transform_from); 1402 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1403 [Version (since = "3.16")] 1404 public static unowned GLib.Binding binding_bind_property_with_closures (GLib.Object source, string source_property, GLib.Object target, string target_property, GLib.BindingFlags flags, GLib.Closure transform_to, GLib.Closure transform_from); 1405 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1406 [Version (since = "3.4")] 1407 public static bool binding_transform_enum_nick_to_value (GLib.Binding binding, GLib.Value source_value, GLib.Value target_value, void* not_used); 1408 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1409 [Version (since = "3.4")] 1410 public static bool binding_transform_enum_value_to_nick (GLib.Binding binding, GLib.Value source_value, GLib.Value target_value, void* not_used); 1411 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1412 public static void categories_add (string category, string unused, string icon_file, bool searchable); 1413 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1414 [Version (since = "3.16")] 1415 public static string categories_dup_icon_file_for (string category); 1416 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1417 [Version (since = "3.16")] 1418 public static GLib.List<string> categories_dup_list (); 1419 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1420 public static bool categories_exist (string category); 1421 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1422 [Version (deprecated = true, deprecated_since = "3.16")] 1423 public static unowned string categories_get_icon_file_for (string category); 1424 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1425 [Version (deprecated = true, deprecated_since = "3.16")] 1426 public static GLib.List<weak string> categories_get_list (); 1427 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1428 public static bool categories_is_searchable (string category); 1429 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1430 [Version (since = "2.24")] 1431 public static void categories_register_change_listener ([CCode (scope = "async")] GLib.Callback listener); 1432 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1433 public static void categories_remove (string category); 1434 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1435 public static void categories_set_icon_file_for (string category, string icon_file); 1436 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1437 [Version (since = "2.24")] 1438 public static void categories_unregister_change_listener ([CCode (scope = "async")] GLib.Callback listener); 1439 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1440 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")] 1441 public static int data_server_util_get_dbus_call_timeout (); 1442 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1443 [Version (deprecated = true, deprecated_since = "3.8", since = "3.0")] 1444 public static void data_server_util_set_dbus_call_timeout (int timeout_msec); 1445 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1446 [Version (since = "2.32")] 1447 public static void debug_log_clear (); 1448 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1449 [Version (since = "2.32")] 1450 public static void debug_log_disable_domains (string domains, int n_domains); 1451 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1452 [Version (since = "2.32")] 1453 public static bool debug_log_dump (string filename) throws GLib.Error; 1454 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1455 [Version (since = "2.32")] 1456 public static bool debug_log_dump_to_dated_file () throws GLib.Error; 1457 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1458 [Version (since = "2.32")] 1459 public static void debug_log_enable_domains (string domains, int n_domains); 1460 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1461 [Version (since = "2.32")] 1462 public static int debug_log_get_max_lines (); 1463 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1464 [Version (since = "2.32")] 1465 public static bool debug_log_is_domain_enabled (string domain); 1466 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1467 [Version (since = "2.32")] 1468 public static bool debug_log_load_configuration (string filename) throws GLib.Error; 1469 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1470 [Version (since = "2.32")] 1471 public static void debug_log_set_max_lines (int num_lines); 1472 [CCode (cheader_filename = "libedataserver/libedataserver.h", cname = "eds_check_version")] 1473 [Version (since = "2.24")] 1474 public static unowned string eds_check_version (uint required_major, uint required_minor, uint required_micro); 1475 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1476 [Version (since = "3.8")] 1477 public static bool enum_from_string (GLib.Type enum_type, string string, int enum_value); 1478 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1479 [Version (since = "3.8")] 1480 public static unowned string enum_to_string (GLib.Type enum_type, int enum_value); 1481 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1482 [Version (since = "3.6")] 1483 public static async bool file_recursive_delete (GLib.File file, int io_priority, GLib.Cancellable? cancellable) throws GLib.Error; 1484 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1485 [Version (since = "3.6")] 1486 public static bool file_recursive_delete_sync (GLib.File file, GLib.Cancellable? cancellable = null) throws GLib.Error; 1487 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1488 public static void filename_make_safe (string string); 1489 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1490 [Version (since = "3.4")] 1491 public static string filename_mkdir_encoded (string basepath, string fileprefix, string filename, int fileindex); 1492 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1493 [Version (since = "3.16")] 1494 public static string free_form_exp_to_sexp (string free_form_exp, E.FreeFormExpSymbol symbols); 1495 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1496 [Version (since = "2.32")] 1497 public static unowned string get_user_cache_dir (); 1498 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1499 [Version (since = "2.32")] 1500 public static unowned string get_user_config_dir (); 1501 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1502 [Version (since = "2.32")] 1503 public static unowned string get_user_data_dir (); 1504 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1505 public static void localtime_with_offset (long tt, [CCode (type = "tm*")] Posix.tm tm, int offset); 1506 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1507 public static void* memchunk_alloc (E.MemChunk memchunk); 1508 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1509 public static void* memchunk_alloc0 (E.MemChunk memchunk); 1510 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1511 public static void memchunk_clean (E.MemChunk memchunk); 1512 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1513 public static void memchunk_destroy (E.MemChunk memchunk); 1514 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1515 public static void memchunk_empty (E.MemChunk memchunk); 1516 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1517 public static void memchunk_free (E.MemChunk memchunk, void* mem); 1518 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1519 public static long mktime_utc ([CCode (type = "tm*")] Posix.tm tm); 1520 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1521 [Version (since = "3.8")] 1522 public static void queue_transfer (GLib.Queue src_queue, GLib.Queue dst_queue); 1523 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1524 [Version (since = "3.18")] 1525 public static bool secret_store_delete_sync (string uid, GLib.Cancellable? cancellable = null) throws GLib.Error; 1526 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1527 [Version (since = "3.18")] 1528 public static bool secret_store_lookup_sync (string uid, out string out_secret, GLib.Cancellable? cancellable = null) throws GLib.Error; 1529 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1530 [Version (since = "3.18")] 1531 public static bool secret_store_store_sync (string uid, string secret, string label, bool permanently, GLib.Cancellable? cancellable = null) throws GLib.Error; 1532 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1533 [Version (since = "3.16")] 1534 public static void soup_ssl_trust_connect (Soup.Message soup_message, E.Source source); 1535 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1536 public static size_t strftime (string string, size_t max, string fmt, [CCode (type = "const tm*")] Posix.tm tm); 1537 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1538 public static void time_format_date_and_time ([CCode (type = "tm*")] Posix.tm date_tm, bool use_24_hour_format, bool show_midnight, bool show_zero_seconds, string buffer, int buffer_size); 1539 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1540 public static void time_format_time ([CCode (type = "tm*")] Posix.tm date_tm, bool use_24_hour_format, bool show_zero_seconds, string buffer, int buffer_size); 1541 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1542 [Version (since = "2.22")] 1543 public static string time_get_d_fmt_with_4digit_year (); 1544 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1545 public static E.TimeParseStatus time_parse_date (string value, [CCode (type = "tm*")] Posix.tm result); 1546 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1547 public static E.TimeParseStatus time_parse_date_and_time (string value, [CCode (type = "tm*")] Posix.tm result); 1548 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1549 [Version (since = "2.22")] 1550 public static E.TimeParseStatus time_parse_date_and_time_ex (string value, [CCode (type = "tm*")] Posix.tm result, bool two_digit_year); 1551 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1552 [Version (since = "2.22")] 1553 public static E.TimeParseStatus time_parse_date_ex (string value, [CCode (type = "tm*")] Posix.tm result, bool two_digit_year); 1554 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1555 public static E.TimeParseStatus time_parse_time (string value, [CCode (type = "tm*")] Posix.tm result); 1556 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1557 [Version (since = "3.12")] 1558 public static uint timeout_add_seconds_with_name (int priority, uint interval, string? name, owned GLib.SourceFunc function); 1559 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1560 [Version (since = "3.12")] 1561 public static uint timeout_add_with_name (int priority, uint interval, string? name, owned GLib.SourceFunc function); 1562 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1563 [Version (since = "3.4")] 1564 public static void type_traverse (GLib.Type parent_type, E.TypeFunc func); 1565 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1566 public static string uid_new (); 1567 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1568 public static size_t utf8_strftime (string string, size_t max, string fmt, [CCode (type = "const tm*")] Posix.tm tm); 1569 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1570 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")] 1571 public static GLib.SList<GLib.Object> util_copy_object_slist (GLib.SList<GLib.Object>? copy_to, GLib.SList<GLib.Object> objects); 1572 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1573 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")] 1574 public static GLib.SList<string> util_copy_string_slist (GLib.SList<string>? copy_to, GLib.SList<string> strings); 1575 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1576 [Version (since = "3.0")] 1577 public static unowned string util_ensure_gdbus_string (string str, string gdbus_str); 1578 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1579 [Version (since = "3.6")] 1580 public static void util_free_nullable_object_slist (GLib.SList<GLib.Object> objects); 1581 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1582 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")] 1583 public static void util_free_object_slist (GLib.SList<GLib.Object> objects); 1584 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1585 [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")] 1586 public static void util_free_string_slist (GLib.SList<string> strings); 1587 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1588 public static string util_get_source_full_name (void* registry, void* source); 1589 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1590 public static bool util_get_source_oauth2_access_token_sync (void* source, E.NamedParameters credentials, out string out_access_token, out int out_expires_in_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error; 1591 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1592 [Version (since = "2.32")] 1593 public static uint64 util_gthread_id (GLib.Thread thread); 1594 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1595 [Version (since = "3.16")] 1596 public static void util_safe_free_string (string str); 1597 [CCode (array_length = false, array_null_terminated = true, cheader_filename = "libedataserver/libedataserver.h")] 1598 [Version (since = "3.4")] 1599 public static string[] util_slist_to_strv (GLib.SList<string> strings); 1600 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1601 [Version (since = "3.6")] 1602 public static string util_strdup_strip (string? string); 1603 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1604 public static string util_strstrcase (string haystack, string needle); 1605 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1606 [Version (since = "3.12")] 1607 public static bool util_strv_equal (void* v1, void* v2); 1608 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1609 [Version (since = "3.4")] 1610 public static GLib.SList<string> util_strv_to_slist (string strv); 1611 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1612 public static string util_unicode_get_utf8 (string text, unichar @out); 1613 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1614 [Version (since = "3.6")] 1615 public static string util_utf8_data_make_valid (string data, size_t data_bytes); 1616 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1617 [Version (since = "3.0")] 1618 public static string util_utf8_make_valid (string str); 1619 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1620 [Version (since = "3.8")] 1621 public static string util_utf8_normalize (string str); 1622 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1623 [Version (since = "2.28")] 1624 public static string util_utf8_remove_accents (string str); 1625 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1626 public static int util_utf8_strcasecmp (string s1, string s2); 1627 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1628 public static unowned string util_utf8_strstrcase (string haystack, string needle); 1629 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1630 public static unowned string util_utf8_strstrcasedecomp (string haystack, string needle); 1631 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1632 [Version (since = "3.10")] 1633 public static void weak_ref_free (GLib.WeakRef weak_ref); 1634 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1635 [Version (since = "3.18")] 1636 public static void webdav_discover_free_discovered_sources (GLib.SList<E.WebDAVDiscoveredSource> discovered_sources); 1637 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1638 [Version (since = "3.18")] 1639 public static async bool webdav_discover_sources (E.Source source, string? url_use_path, uint32 only_supports, E.NamedParameters? credentials, GLib.Cancellable? cancellable, out string out_certificate_pem, out GLib.TlsCertificateFlags out_certificate_errors, out GLib.SList<E.WebDAVDiscoveredSource> out_discovered_sources, out GLib.SList<string> out_calendar_user_addresses) throws GLib.Error; 1640 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1641 [Version (since = "3.18")] 1642 public static bool webdav_discover_sources_sync (E.Source source, string? url_use_path, uint32 only_supports, E.NamedParameters? credentials, out string out_certificate_pem, out GLib.TlsCertificateFlags out_certificate_errors, out GLib.SList<E.WebDAVDiscoveredSource> out_discovered_sources, out GLib.SList<string> out_calendar_user_addresses, GLib.Cancellable? cancellable = null) throws GLib.Error; 1643 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1644 public static void xml_destroy_hash (GLib.HashTable<string,string> hash); 1645 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1646 public static Xml.Doc* xml_from_hash (GLib.HashTable<string,string> hash, E.XmlHashType type, string root_name); 1647 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1648 public static Xml.Node* xml_get_child_by_name ([CCode (type = "const xmlNode*")] Xml.Node* parent, [CCode (type = "const xmlChar*")] string child_name); 1649 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1650 public static Xml.Doc* xml_parse_file (string filename); 1651 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1652 public static int xml_save_file (string filename, [CCode (type = "xmlDocPtr")] Xml.Doc* doc); 1653 [CCode (cheader_filename = "libedataserver/libedataserver.h")] 1654 public static GLib.HashTable<string,string> xml_to_hash (Xml.Doc doc, E.XmlHashType type); 1655} 1656