customized builds

This commit is contained in:
2017-10-10 16:29:22 -03:00
parent 3d5d662152
commit 235c95aa2b
246 changed files with 8857 additions and 1535 deletions

3
src/vapis/CMakeLists.txt Normal file
View File

@@ -0,0 +1,3 @@
### CMakeLists automatically created with AutoVala
### Do not edit

File diff suppressed because it is too large Load Diff

1444
src/vapis/libalpm.vapi Normal file

File diff suppressed because it is too large Load Diff

400
src/vapis/libcurl.vapi Normal file
View File

@@ -0,0 +1,400 @@
/*
* licurl-vala
* Vala bindings for libcurl
*
* Copyright (C) 2016 Guillaume Benoit <guillaume@manjaro.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a get of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
[CCode (cheader_filename = "curl/curl.h")]
namespace Curl {
[CCode (cprefix = "curl_")]
public static Curl.Code global_init (long flags);
public static void global_cleanup ();
public static unowned string version ();
[CCode (cname = "CURL", cprefix = "curl_easy_", free_function = "curl_easy_cleanup")]
[Compact]
public class Easy {
[CCode (cname = "curl_easy_init")]
public Easy();
[PrintfFormat]
public Curl.Code getinfo (Curl.Info info, ...);
public Curl.Code easy_pause (int bitmask);
public Curl.Code perform ();
public void reset ();
[PrintfFormat]
public Curl.Code setopt (Curl.Option option, ...);
public static unowned string strerror (Curl.Code errornum);
}
[CCode (cname = "CURLcode", cprefix = "CURLE_", has_type_id = false)]
public enum Code {
OK,
UNSUPPORTED_PROTOCOL,
FAILED_INIT,
URL_MALFORMAT,
NOT_BUILT_IN,
COULDNT_RESOLVE_PROXY,
COULDNT_RESOLVE_HOST,
COULDNT_CONNECT,
FTP_WEIRD_SERVER_REPLY,
REMOTE_ACCESS_DENIED,
FTP_WEIRD_PASS_REPLY,
FTP_WEIRD_PASV_REPLY,
FTP_WEIRD_227_FORMAT,
FTP_CANT_GET_HOST,
FTP_COULDNT_SET_TYPE,
PARTIAL_FILE,
FTP_COULDNT_RETR_FILE,
QUOTE_ERROR,
HTTP_RETURNED_ERROR,
WRITE_ERROR,
UPLOAD_FAILED,
READ_ERROR,
OUT_OF_MEMORY,
OPERATION_TIMEDOUT,
FTP_PORT_FAILED,
FTP_COULDNT_USE_REST,
RANGE_ERROR,
HTTP_POST_ERROR,
SSL_CONNECT_ERROR,
BAD_DOWNLOAD_RESUME,
FILE_COULDNT_READ_FILE,
LDAP_CANNOT_BIND,
LDAP_SEARCH_FAILED,
FUNCTION_NOT_FOUND,
ABORTED_BY_CALLBACK,
BAD_FUNCTION_ARGUMENT,
INTERFACE_FAILED,
TOO_MANY_REDIRECTS,
UNKNOWN_OPTION,
TELNET_OPTION_SYNTAX,
PEER_FAILED_VERIFICATION,
GOT_NOTHING,
SSL_ENGINE_NOTFOUND,
SSL_ENGINE_SETFAILED,
SEND_ERROR,
RECV_ERROR,
SSL_CERTPROBLEM,
SSL_CIPHER,
SSL_CACERT,
BAD_CONTENT_ENCODING,
LDAP_INVALID_URL,
FILESIZE_EXCEEDED,
USE_SSL_FAILED,
SEND_FAIL_REWIND,
SSL_ENGINE_INITFAILED,
LOGIN_DENIED,
TFTP_NOTFOUND,
TFTP_PERM,
REMOTE_DISK_FULL,
TFTP_ILLEGAL,
TFTP_UNKNOWNID,
REMOTE_FILE_EXISTS,
TFTP_NOSUCHUSER,
CONV_FAILED,
CONV_REQD,
SSL_CACERT_BADFILE,
REMOTE_FILE_NOT_FOUND,
SSH,
SSL_SHUTDOWN_FAILED,
AGAIN,
SSL_CRL_BADFILE,
SSL_ISSUER_ERROR,
FTP_PRET_FAILED,
RTSP_CSEQ_ERROR,
RTSP_SESSION_ERROR,
FTP_BAD_FILE_LIST,
CHUNK_FAILED
}
[CCode (cname = "CURLINFO", cprefix = "CURLINFO_", has_type_id = false)]
public enum Info {
NONE,
EFFECTIVE_URL,
RESPONSE_CODE,
TOTAL_TIME,
NAMELOOKUP_TIME,
CONNECT_TIME,
PRETRANSFER_TIME,
SIZE_UPLOAD,
SIZE_DOWNLOAD,
SPEED_DOWNLOAD,
SPEED_UPLOAD,
HEADER_SIZE,
REQUEST_SIZE,
SSL_VERIFYRESULT,
FILETIME,
CONTENT_LENGTH_DOWNLOAD,
CONTENT_LENGTH_UPLOAD,
STARTTRANSFER_TIME,
CONTENT_TYPE,
REDIRECT_TIME,
REDIRECT_COUNT,
PRIVATE,
HTTP_CONNECTCODE,
HTTPAUTH_AVAIL,
PROXYAUTH_AVAIL,
OS_ERRNO,
NUM_CONNECTS,
SSL_ENGINES,
COOKIELIST,
LASTSOCKET,
FTP_ENTRY_PATH,
REDIRECT_URL,
PRIMARY_IP,
APPCONNECT_TIME,
CERTINFO,
CONDITION_UNMET,
RTSP_SESSION_ID,
RTSP_CLIENT_CSEQ,
RTSP_SERVER_CSEQ,
RTSP_CSEQ_RECV,
PRIMARY_PORT,
LOCAL_IP,
LOCAL_PORT,
LASTONE
}
[CCode (cname = "CURL_NETRC_OPTION", cprefix = "CURL_NETRC_", has_type_id = false)]
public enum NetRCOption {
IGNORED,
OPTIONAL,
REQUIRED,
LAST
}
[CCode (cname = "CURLoption", cprefix = "CURLOPT_", has_type_id = false)]
public enum Option {
FILE,
WRITEDATA,
URL,
PORT,
PROXY,
USERPWD,
PROXYUSERPWD,
RANGE,
INFILE,
READDATA,
ERRORBUFFER,
WRITEFUNCTION,
READFUNCTION,
TIMEOUT,
INFILESIZE,
POSTFIELDS,
REFERER,
FTPPORT,
USERAGENT,
LOW_SPEED_LIMIT,
LOW_SPEED_TIME,
RESUME_FROM,
COOKIE,
HTTPHEADER,
RTSPHEADER,
HTTPPOST,
SSLCERT,
KEYPASSWD,
CRLF,
QUOTE,
WRITEHEADER,
HEADERDATA,
COOKIEFILE,
SSLVERSION,
TIMECONDITION,
TIMEVALUE,
CUSTOMREQUEST,
STDERR,
POSTQUOTE,
WRITEINFO,
VERBOSE,
HEADER,
NOPROGRESS,
NOBODY,
FAILONERROR,
UPLOAD,
POST,
DIRLISTONLY,
APPEND,
NETRC,
FOLLOWLOCATION,
TRANSFERTEXT,
PUT,
XFERINFOFUNCTION,
XFERINFODATA,
AUTOREFERER,
PROXYPORT,
POSTFIELDSIZE,
HTTPPROXYTUNNEL,
INTERFACE,
KRBLEVEL,
SSL_VERIFYPEER,
CAINFO,
MAXREDIRS,
FILETIME,
TELNETOPTIONS,
MAXCONNECTS,
FRESH_CONNECT,
FORBID_REUSE,
RANDOM_FILE,
EGDSOCKET,
CONNECTTIMEOUT,
HEADERFUNCTION,
HTTPGET,
SSL_VERIFYHOST,
COOKIEJAR,
SSL_CIPHER_LIST,
HTTP_VERSION,
FTP_USE_EPSV,
SSLCERTTYPE,
SSLKEY,
SSLKEYTYPE,
SSLENGINE,
SSLENGINE_DEFAULT,
DNS_CACHE_TIMEOUT,
PREQUOTE,
DEBUGFUNCTION,
DEBUGDATA,
COOKIESESSION,
CAPATH,
BUFFERSIZE,
NOSIGNAL,
SHARE,
PROXYTYPE,
ACCEPT_ENCODING,
PRIVATE,
HTTP200ALIASES,
UNRESTRICTED_AUTH,
FTP_USE_EPRT,
HTTPAUTH,
SSL_CTX_FUNCTION,
SSL_CTX_DATA,
FTP_CREATE_MISSING_DIRS,
PROXYAUTH,
FTP_RESPONSE_TIMEOUT,
IPRESOLVE,
MAXFILESIZE,
INFILESIZE_LARGE,
RESUME_FROM_LARGE,
MAXFILESIZE_LARGE,
NETRC_FILE,
USE_SSL,
POSTFIELDSIZE_LARGE,
TCP_NODELAY,
FTPSSLAUTH,
IOCTLFUNCTION,
IOCTLDATA,
FTP_ACCOUNT,
COOKIELIST,
IGNORE_CONTENT_LENGTH,
FTP_SKIP_PASV_IP,
FTP_FILEMETHOD,
LOCALPORT,
LOCALPORTRANGE,
CONNECT_ONLY,
CONV_FROM_NETWORK_FUNCTION,
CONV_TO_NETWORK_FUNCTION,
CONV_FROM_UTF8_FUNCTION,
MAX_SEND_SPEED_LARGE,
MAX_RECV_SPEED_LARGE,
FTP_ALTERNATIVE_TO_USER,
SOCKOPTFUNCTION,
SOCKOPTDATA,
SSL_SESSIONID_CACHE,
SSH_AUTH_TYPES,
SSH_PUBLIC_KEYFILE,
SSH_PRIVATE_KEYFILE,
FTP_SSL_CCC,
TIMEOUT_MS,
CONNECTTIMEOUT_MS,
HTTP_TRANSFER_DECODING,
HTTP_CONTENT_DECODING,
NEW_FILE_PERMS,
NEW_DIRECTORY_PERMS,
POSTREDIR,
SSH_HOST_PUBLIC_KEY_MD5,
OPENSOCKETFUNCTION,
OPENSOCKETDATA,
COPYPOSTFIELDS,
PROXY_TRANSFER_MODE,
SEEKFUNCTION,
SEEKDATA,
CRLFILE,
ISSUERCERT,
ADDRESS_SCOPE,
CERTINFO,
USERNAME,
PASSWORD,
PROXYUSERNAME,
PROXYPASSWORD,
NOPROXY,
TFTP_BLKSIZE,
SOCKS5_GSSAPI_SERVICE,
SOCKS5_GSSAPI_NEC,
PROTOCOLS,
REDIR_PROTOCOLS,
SSH_KNOWNHOSTS,
SSH_KEYFUNCTION,
SSH_KEYDATA,
MAIL_FROM,
MAIL_RCPT,
FTP_USE_PRET,
RTSP_REQUEST,
RTSP_SESSION_ID,
RTSP_STREAM_URI,
RTSP_TRANSPORT,
RTSP_CLIENT_CSEQ,
RTSP_SERVER_CSEQ,
INTERLEAVEDATA,
INTERLEAVEFUNCTION,
WILDCARDMATCH,
CHUNK_BGN_FUNCTION,
CHUNK_END_FUNCTION,
FNMATCH_FUNCTION,
CHUNK_DATA,
FNMATCH_DATA,
RESOLVE,
TLSAUTH_USERNAME,
TLSAUTH_PASSWORD,
TLSAUTH_TYPE,
TRANSFER_ENCODING,
CLOSESOCKETFUNCTION,
CLOSESOCKETDATA,
LASTENTRY
}
[CCode (cname = "curl_TimeCond", cprefix = "CURL_TIMECOND_", has_type_id = false)]
public enum TimeCond {
NONE,
IFMODSINCE,
IFUNMODSINCE,
LASTMOD,
LAST
}
[CCode (cname = "curl_progress_callback", has_target = false)]
public delegate int ProgressCallback (void* user_data, uint64 dltotal, uint64 dlnow, uint64 ultotal, uint64 ulnow);
[CCode (cname = "CURLAUTH_ANY", cheader_filename = "curl/curl.h")]
public const int CURLAUTH_ANY;
[CCode (cname = "CURL_ERROR_SIZE")]
public const int ERROR_SIZE;
[CCode (cname = "CURL_GLOBAL_SSL")]
public const int GLOBAL_SSL;
}

View File

@@ -0,0 +1,220 @@
/* polkit-gobject-1.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Polkit", gir_namespace = "Polkit", gir_version = "1.0", lower_case_cprefix = "polkit_")]
namespace Polkit {
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_action_description_get_type ()")]
public class ActionDescription : GLib.Object {
[CCode (has_construct_function = false)]
protected ActionDescription ();
public unowned string get_action_id ();
public unowned string get_annotation (string key);
[CCode (array_length = false, array_null_terminated = true)]
public unowned string[] get_annotation_keys ();
public unowned string get_description ();
public unowned string get_icon_name ();
public Polkit.ImplicitAuthorization get_implicit_active ();
public Polkit.ImplicitAuthorization get_implicit_any ();
public Polkit.ImplicitAuthorization get_implicit_inactive ();
public unowned string get_message ();
public unowned string get_vendor_name ();
public unowned string get_vendor_url ();
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_authority_get_type ()")]
public class Authority : GLib.Object, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
protected Authority ();
public async bool authentication_agent_response (string cookie, Polkit.Identity identity, GLib.Cancellable? cancellable) throws GLib.Error;
public bool authentication_agent_response_sync (string cookie, Polkit.Identity identity, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async Polkit.AuthorizationResult check_authorization (Polkit.Subject subject, string action_id, Polkit.Details? details, Polkit.CheckAuthorizationFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
public Polkit.AuthorizationResult check_authorization_sync (Polkit.Subject subject, string action_id, Polkit.Details? details, Polkit.CheckAuthorizationFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.List<Polkit.ActionDescription> enumerate_actions (GLib.Cancellable? cancellable) throws GLib.Error;
public GLib.List<Polkit.ActionDescription> enumerate_actions_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.List<Polkit.TemporaryAuthorization> enumerate_temporary_authorizations (Polkit.Subject subject, GLib.Cancellable? cancellable) throws GLib.Error;
public GLib.List<Polkit.TemporaryAuthorization> enumerate_temporary_authorizations_sync (Polkit.Subject subject, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Polkit.Authority @get ();
public static async Polkit.Authority get_async (GLib.Cancellable? cancellable) throws GLib.Error;
public Polkit.AuthorityFeatures get_backend_features ();
public unowned string get_backend_name ();
public unowned string get_backend_version ();
public string get_owner ();
public static Polkit.Authority get_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool register_authentication_agent (Polkit.Subject subject, string locale, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
public bool register_authentication_agent_sync (Polkit.Subject subject, string locale, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool register_authentication_agent_with_options (Polkit.Subject subject, string locale, string object_path, GLib.Variant? options, GLib.Cancellable? cancellable) throws GLib.Error;
public bool register_authentication_agent_with_options_sync (Polkit.Subject subject, string locale, string object_path, GLib.Variant? options, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool revoke_temporary_authorization_by_id (string id, GLib.Cancellable? cancellable) throws GLib.Error;
public bool revoke_temporary_authorization_by_id_sync (string id, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool revoke_temporary_authorizations (Polkit.Subject subject, GLib.Cancellable? cancellable) throws GLib.Error;
public bool revoke_temporary_authorizations_sync (Polkit.Subject subject, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool unregister_authentication_agent (Polkit.Subject subject, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
public bool unregister_authentication_agent_sync (Polkit.Subject subject, string object_path, GLib.Cancellable? cancellable = null) throws GLib.Error;
public Polkit.AuthorityFeatures backend_features { get; }
public string backend_name { get; }
public string backend_version { get; }
public string owner { owned get; }
public signal void changed ();
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_authorization_result_get_type ()")]
public class AuthorizationResult : GLib.Object {
[CCode (has_construct_function = false)]
public AuthorizationResult (bool is_authorized, bool is_challenge, Polkit.Details? details);
public unowned Polkit.Details get_details ();
public bool get_dismissed ();
public bool get_is_authorized ();
public bool get_is_challenge ();
public bool get_retains_authorization ();
public unowned string get_temporary_authorization_id ();
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_details_get_type ()")]
public class Details : GLib.Object {
[CCode (has_construct_function = false)]
public Details ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_keys ();
public void insert (string key, string? value);
public unowned string lookup (string key);
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_permission_get_type ()")]
public class Permission : GLib.Permission, GLib.AsyncInitable, GLib.Initable {
[CCode (cname = "polkit_permission_new", has_construct_function = false)]
public async Permission (string action_id, Polkit.Subject? subject, GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string get_action_id ();
public unowned Polkit.Subject get_subject ();
[CCode (has_construct_function = false, type = "GPermission*")]
public Permission.sync (string action_id, Polkit.Subject? subject, GLib.Cancellable? cancellable = null) throws GLib.Error;
public string action_id { get; construct; }
public Polkit.Subject subject { get; construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_system_bus_name_get_type ()")]
public class SystemBusName : GLib.Object, Polkit.Subject {
[CCode (has_construct_function = false)]
protected SystemBusName ();
public unowned string get_name ();
public Polkit.Subject get_process_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Polkit.Subject @new (string name);
public void set_name (string name);
public string name { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_temporary_authorization_get_type ()")]
public class TemporaryAuthorization : GLib.Object {
[CCode (has_construct_function = false)]
protected TemporaryAuthorization ();
public unowned string get_action_id ();
public unowned string get_id ();
public Polkit.Subject get_subject ();
public uint64 get_time_expires ();
public uint64 get_time_obtained ();
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_unix_group_get_type ()")]
public class UnixGroup : GLib.Object, Polkit.Identity {
[CCode (has_construct_function = false)]
protected UnixGroup ();
public int get_gid ();
public static Polkit.Identity @new (int gid);
public static Polkit.Identity new_for_name (string name) throws GLib.Error;
public void set_gid (int gid);
public int gid { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_unix_netgroup_get_type ()")]
public class UnixNetgroup : GLib.Object, Polkit.Identity {
[CCode (has_construct_function = false)]
protected UnixNetgroup ();
public unowned string get_name ();
public static Polkit.Identity @new (string name);
public void set_name (string name);
public string name { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_unix_process_get_type ()")]
public class UnixProcess : GLib.Object, Polkit.Subject {
[CCode (has_construct_function = false)]
protected UnixProcess ();
public int get_owner () throws GLib.Error;
public int get_pid ();
public uint64 get_start_time ();
public int get_uid ();
public static Polkit.Subject @new (int pid);
public static Polkit.Subject new_for_owner (int pid, uint64 start_time, int uid);
public static Polkit.Subject new_full (int pid, uint64 start_time);
public void set_pid (int pid);
public void set_start_time (uint64 start_time);
public void set_uid (int uid);
public int pid { get; set construct; }
public uint64 start_time { get; set construct; }
public int uid { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_unix_session_get_type ()")]
public class UnixSession : GLib.Object, GLib.AsyncInitable, GLib.Initable, Polkit.Subject {
[CCode (has_construct_function = false)]
protected UnixSession ();
public unowned string get_session_id ();
public static Polkit.Subject @new (string session_id);
public static async Polkit.Subject new_for_process (int pid, GLib.Cancellable? cancellable) throws GLib.Error;
public static Polkit.Subject new_for_process_sync (int pid, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_session_id (string session_id);
public int pid { construct; }
public string session_id { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_unix_user_get_type ()")]
public class UnixUser : GLib.Object, Polkit.Identity {
[CCode (has_construct_function = false)]
protected UnixUser ();
public unowned string get_name ();
public int get_uid ();
public static Polkit.Identity @new (int uid);
public static Polkit.Identity new_for_name (string name) throws GLib.Error;
public void set_uid (int uid);
public int uid { get; set construct; }
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_identity_get_type ()")]
public interface Identity : GLib.Object {
public abstract bool equal (Polkit.Identity b);
public static Polkit.Identity from_string (string str) throws GLib.Error;
public abstract uint hash ();
public abstract string to_string ();
}
[CCode (cheader_filename = "polkit/polkit.h", type_id = "polkit_subject_get_type ()")]
public interface Subject : GLib.Object {
public abstract bool equal (Polkit.Subject b);
public abstract async bool exists (GLib.Cancellable? cancellable) throws GLib.Error;
public abstract bool exists_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static Polkit.Subject from_string (string str) throws GLib.Error;
public abstract uint hash ();
public abstract string to_string ();
}
[CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_AUTHORITY_FEATURES_", type_id = "polkit_authority_features_get_type ()")]
[Flags]
public enum AuthorityFeatures {
NONE,
TEMPORARY_AUTHORIZATION
}
[CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_CHECK_AUTHORIZATION_FLAGS_", type_id = "polkit_check_authorization_flags_get_type ()")]
[Flags]
public enum CheckAuthorizationFlags {
NONE,
ALLOW_USER_INTERACTION
}
[CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_IMPLICIT_AUTHORIZATION_", type_id = "polkit_implicit_authorization_get_type ()")]
public enum ImplicitAuthorization {
UNKNOWN,
NOT_AUTHORIZED,
AUTHENTICATION_REQUIRED,
ADMINISTRATOR_AUTHENTICATION_REQUIRED,
AUTHENTICATION_REQUIRED_RETAINED,
ADMINISTRATOR_AUTHENTICATION_REQUIRED_RETAINED,
AUTHORIZED;
public static bool from_string (string string, Polkit.ImplicitAuthorization out_implicit_authorization);
public static unowned string to_string (Polkit.ImplicitAuthorization implicit_authorization);
}
[CCode (cheader_filename = "polkit/polkit.h", cprefix = "POLKIT_ERROR_")]
public errordomain Error {
FAILED,
CANCELLED,
NOT_SUPPORTED,
NOT_AUTHORIZED;
public static GLib.Quark quark ();
}
[CCode (cheader_filename = "polkit/polkit.h")]
public static Polkit.Identity identity_from_string (string str) throws GLib.Error;
[CCode (cheader_filename = "polkit/polkit.h")]
public static Polkit.Subject subject_from_string (string str) throws GLib.Error;
}