![]() |
![]() |
![]() |
libgit2-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
GgitConfigEntry; GgitConfigEntry * ggit_config_entry_ref (GgitConfigEntry *entry
); void ggit_config_entry_unref (GgitConfigEntry *entry
); const gchar * ggit_config_entry_get_name (GgitConfigEntry *entry
); const gchar * ggit_config_entry_get_value (GgitConfigEntry *entry
); GgitConfigLevel ggit_config_entry_get_level (GgitConfigEntry *entry
);
typedef struct _GgitConfigEntry GgitConfigEntry;
Represents a git configuration entry.
GgitConfigEntry * ggit_config_entry_ref (GgitConfigEntry *entry
);
Atomically increments the reference count of entry
by one.
This function is MT-safe and may be called from any thread.
|
a GgitConfigEntry. |
Returns : |
a GgitConfigEntry. [transfer none] |
void ggit_config_entry_unref (GgitConfigEntry *entry
);
Atomically decrements the reference count of entry
by one.
If the reference count drops to 0, entry
is freed.
|
a GgitConfigEntry. |
const gchar * ggit_config_entry_get_name (GgitConfigEntry *entry
);
Gets the name of entry
.
|
a GgitConfigEntry. |
Returns : |
the name of entry : |
const gchar * ggit_config_entry_get_value (GgitConfigEntry *entry
);
Gets the value of entry
.
|
a GgitConfigEntry. |
Returns : |
the value of entry . |
GgitConfigLevel ggit_config_entry_get_level (GgitConfigEntry *entry
);
Gets the GgitConfigLevel of entry
.
|
a GgitConfigEntry. |
Returns : |
the GgitConfigLevel of entry . |