csvpp 1.2.0
CSV parsing / writing libraries
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
embcsv.h File Reference

CSV library for embedded environments. More...

#include <stdbool.h>
#include <stdlib.h>
#include "version.h"
Include dependency graph for embcsv.h:

Go to the source code of this file.

Classes

struct  EMBCSV_reader
 

Macros

#define EMBCSV_FIELD_BUF_SIZE   16
 Field buffer size. Any fields at or over this limit will be truncated.
 

Typedefs

typedef struct EMBCSV_reader EMBCSV_reader
 

Enumerations

enum  EMBCSV_result { EMBCSV_INCOMPLETE , EMBCSV_FIELD , EMBCSV_END_OF_ROW , EMBCSV_PARSE_ERROR }
 Parser result type. More...
 

Functions

EMBCSV_readerEMBCSV_reader_init_full (char delimiter, char quote, bool lenient)
 Create a new EMBCSV_reader.
 
EMBCSV_readerEMBCSV_reader_init (void)
 Create a new EMBCSV_reader with default settings.
 
void EMBCSV_reader_free (EMBCSV_reader *r)
 Free an EMBCSV_reader.
 
EMBCSV_result EMBCSV_reader_parse_char (EMBCSV_reader *r, int c, const char **field_out)
 Parse a character.
 

Detailed Description

CSV library for embedded environments.