#ifndef EDI_PATH_H_ # define EDI_PATH_H_ #ifdef __cplusplus extern "C" { #endif /** * @file * @brief These routines are used for Edi path handling. */ typedef struct _Edi_Path_Options { const char *path; const char *type; int line, character; } Edi_Path_Options; /** * @brief Path options * @defgroup Options * * @{ * * Manipulation of various path options. * */ /** * Create an options based on parsing a string input. * String will be of the format [:[:]] * * @param input The string formatted to have a path with optional line and character parameters * If only one of line or character is provided it's assumed to be the line number. * * @return A newly allocated options struct. * * @ingroup Options */ EAPI Edi_Path_Options *edi_path_options_create(const char *input); /** * @} */ #ifdef __cplusplus } #endif #endif /* EDI_PATH_H_ */