Import line: | Midgard = imports.gi.Midgard; |
GIR File: | Midgard-10.05.gir |
C documentation: | Midgard |
Namespace : | Midgard |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
String Midgard.CONFIG_EXTENSION : .mcfg
|
|
String Midgard.DBUS_PATH : /org/midgardproject
|
|
Number Midgard.DBUS_SUPPORT : 1
|
|
String Midgard.DEFAULT_AUTH_TYPE : Plaintext
|
|
String Midgard.DEFAULT_DATETIME : 0001-01-01 00:00:00+0000
|
|
String Midgard.GETTEXT_PACKAGE : midgard
|
|
String Midgard.GLOBAL_SCHEMA : /usr/share/midgard2/MidgardObjects.xml
|
|
String Midgard.LIB_PREFIX : /usr
|
|
String Midgard.LIB_VERSION : 10.05.0
|
|
String Midgard.LIB_VERSION_STRING :
|
|
String Midgard.LSCHEMA_DIR : /usr/share/midgard2/schema
|
|
String Midgard.MGD_MYSQL_PASSWORD : midgard
|
|
String Midgard.PACKAGE_NAME : midgard2
|
|
String Midgard.SHARE_DIR : /usr/share/midgard2
|
|
String Midgard.USER_PROP_GUID : guid
|
|
Number Midgard.USER_TYPE_ADMIN : 2
|
|
Number Midgard.USER_TYPE_NONE : 0
|
|
Number Midgard.USER_TYPE_USER : 1
|
None |
Method / Constructor | Defined By | |
---|---|---|
|
Midgard | |
Midgard.MD5_Init
(MD5_CTX unknown)
:
none
|
Midgard | |
|
Midgard | |
Midgard.close
()
:
none
|
Midgard | |
Midgard.core_timestamp_set_current_time
(Timestamp tm)
:
none
|
Midgard | |
Midgard.dbus_glib_marshal_midgard_dbus_BOOLEAN__STRING_POINTER
(Closure closure, Value return_value, Number n_param_values, Value param_values, void* invocation_hint, void* marshal_data)
:
none
|
Midgard | |
structure.
structure. This function checks pointer type using MIDGARD_IS_CONNECTION convention macro. Next midgard_connection_get_loglevel is called to get loglevel. If MidgardConnection check fails , a typecast to MidgardTypeHolder is made. In this case, level member is used to get loglevel. You are responsible to correctly set MidgardConnection or MidgardTypeHolder before passing ptr argument. The main approach is to follow configuration's loglevel even if MidgardConnection pointer is not yet available.
|
Midgard | |
Midgard.error_generic
()
:
Number
GQuark for Midgard Error.
GQuark for Midgard Error. It's used by Midgard Error implementation, and probably not needed to use by any application.
|
Midgard | |
Midgard | ||
Midgard | ||
|
Midgard | |
|
Midgard | |
Midgard.hash_strings_new
()
:
Object
|
Midgard | |
Midgard.init
()
:
none
|
Midgard | |
Midgard | ||
Midgard | ||
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
|
Midgard | |
Midgard.timestamp_new_current
(Value value)
:
none
|
Midgard | |
Midgard.timestamp_set_current_time
(Value value)
:
none
|
Midgard | |
Midgard | ||
Midgard.uuid_new
()
:
String
|
Midgard | |
Midgard.version
()
:
String
|
Midgard |
None |