kml-parser 0.1.1

K(refting) M(ulti) L(anguage) Parser
Documentation
#ifndef READ_H
#define READ_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>

/**
 * @brief Validate the kml file
 * @param filename The filename to check
 * @return true if the file is valid, false otherwise
*/
bool validate_kml_file(char* filename); /* Validate KML file */
/**
 * @brief Read the content of the kml file
 * @param filename The filename to check
 * @return The content of the file
*/
char* read_kml_file(char* filename); /* Read KML file */
/**
 * @brief Read the author of the kml file
 * @param filename The filename to check
 * @return The author of the file
*/
char* read_kml_author(char* filename); /* Read KML author */
/**
 * @brief Read the name of the kml file
 * @param filename The filename to check
 * @return The name of the file
*/
char* read_kml_name(char* filename); /* Read KML name */
/**
 * @brief Read the description of the kml file
 * @param filename The filename to check
 * @return The description of the file
*/
char* read_kml_description(char* filename); /* Read KML description */
/**
 * @brief Read the version of the kml file
 * @param filename The filename to check
 * @return The version of the file
*/
float read_kml_version(char* filename); /* Read KML version */
/**
 * @brief Read the size of the kml file
 * @param filename The filename to check
 * @return The size of the file
*/
float read_kml_size(char* filename); /* Read KML size */

#endif