editorconfig_handle.h - Online Linux Manual PageSection : 3
Updated : Sun Jan 22 2023
Source : EditorConfig
NAMEeditorconfig_handle.h − Header file of EditorConfig handle.
SYNOPSIS
Typedefstypedef void * editorconfig_handle
The editorconfig handle object type.
Functionseditorconfig_handle editorconfig_handle_init (void)
Create and intialize a default editorconfig_handle object. int editorconfig_handle_destroy (editorconfig_handle h)
Destroy an editorconfig_handle object. const char * editorconfig_handle_get_err_file (editorconfig_handle h)
Get the err_file field of an 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_set_version (const editorconfig_handle h, int major, int minor, int patch)
Set the version fields of an editorconfig_handle object. 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. const char * editorconfig_handle_get_conf_file_name (const editorconfig_handle h)
Get the conf_file_name field 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. int editorconfig_handle_get_name_value_count (const editorconfig_handle h)
Get the count of name and value fields of an editorconfig_handle object.
Detailed DescriptionHeader file of EditorConfig handle. Author EditorConfig Team
Function Documentation
int editorconfig_handle_destroy (editorconfig_handle h)Destroy an editorconfig_handle object. Parameters h The editorconfig_handle object needs to be destroyed. Return values zero The editorconfig_handle object is destroyed successfully.
non-zero Failed to destroy the editorconfig_handle object.
const char * editorconfig_handle_get_conf_file_name (const editorconfig_handle h)Get the conf_file_name field of an editorconfig_handle object. Parameters h The editorconfig_handle object whose conf_file_name field needs to be obtained. Returns The value of the conf_file_name field of the editorconfig_handle object.
const char * editorconfig_handle_get_err_file (editorconfig_handle h)Get the err_file field of an editorconfig_handle object. Parameters h The editorconfig_handle object whose err_file needs to be obtained. Return values NULL No error file exists.
non-NULL The pointer to the path of the file caused the parsing error is returned.
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. Parameters h The editorconfig_handle object whose name and value fields need to be obtained.
n The zero-based index of the name and value fields to be obtained.
name If not null, *name will be set to point to the obtained name.
value If not null, *value will be set to point to the obtained value. Returns None.
int editorconfig_handle_get_name_value_count (const editorconfig_handle h)Get the count of name and value fields of an editorconfig_handle object. Parameters h The editorconfig_handle object whose count of name and value fields need to be obtained. Returns the count of name and value fields of the 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. Parameters h The editorconfig_handle object whose version field need to be obtained.
major If not null, the integer pointed by major will be filled with the major version field of the editorconfig_handle object.
minor If not null, the integer pointed by minor will be filled with the minor version field of the editorconfig_handle object.
patch If not null, the integer pointed by patch will be filled with the patch version field of the editorconfig_handle object. Returns None.
editorconfig_handle editorconfig_handle_init (void)Create and intialize a default editorconfig_handle object. Return values NULL Failed to create the editorconfig_handle object.
non-NULL The created editorconfig_handle object is returned.
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. Parameters h The editorconfig_handle object whose conf_file_name field needs to be set.
conf_file_name The new value of the conf_file_name field of the editorconfig_handle object. Returns None.
void editorconfig_handle_set_version (const editorconfig_handle h, int major, int minor, int patch)Set the version fields of an editorconfig_handle object. Parameters h The editorconfig_handle object whose version fields need to be set.
major If not less than 0, the major version field will be set to major. If this parameter is less than 0, the major version field of the editorconfig_handle object will remain unchanged.
minor If not less than 0, the minor version field will be set to minor. If this parameter is less than 0, the minor version field of the editorconfig_handle object will remain unchanged.
patch If not less than 0, the patch version field will be set to patch. If this parameter is less than 0, the patch version field of the editorconfig_handle object will remain unchanged. Returns None.
AuthorGenerated automatically by Doxygen for EditorConfig from the source code. 0
Johanes Gumabo
Data Size : 26,259 byte
man-editorconfig_handle.h.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 236,687
Visitor ID : :
Visitor IP : 3.17.78.182 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.