34 #ifndef __EDITORCONFIG_EDITORCONFIG_HANDLE_H__
35 #define __EDITORCONFIG_EDITORCONFIG_HANDLE_H__
39 #ifndef EDITORCONFIG_EXPORT
40 # define EDITORCONFIG_EXPORT
106 int* minor,
int* patch);
129 int minor,
int patch);
143 const char* conf_file_name);
173 const char** name,
const char** value);
const char * editorconfig_handle_get_conf_file_name(const editorconfig_handle h)
Get the conf_file_name field of an editorconfig_handle object.
int editorconfig_handle_destroy(editorconfig_handle h)
Destroy an editorconfig_handle object.
void * editorconfig_handle
The editorconfig handle object type.
Definition: editorconfig_handle.h:50
void editorconfig_handle_set_conf_file_name(editorconfig_handle h, const char *conf_file_name)
Set the conf_file_name field of an editorconfig_handle object.
void editorconfig_handle_set_version(const editorconfig_handle h, int major, int minor, int patch)
Set the version fields of an editorconfig_handle object.
int editorconfig_handle_get_name_value_count(const editorconfig_handle h)
Get the count of name and value fields of an editorconfig_handle object.
const char * editorconfig_handle_get_err_file(editorconfig_handle h)
Get the err_file field of an editorconfig_handle object.
editorconfig_handle editorconfig_handle_init(void)
Create and intialize a default editorconfig_handle object.
void editorconfig_handle_get_version(const editorconfig_handle h, int *major, int *minor, int *patch)
Get the version fields of an editorconfig_handle object.
void editorconfig_handle_get_name_value(const editorconfig_handle h, int n, const char **name, const char **value)
Get the nth name and value fields of an editorconfig_handle object.