Commit Graph

12 Commits

Author SHA1 Message Date
959ffce49f easycsv_insert_value documentation fixed
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-17 15:37:27 +02:00
d6f0b0260e Fixed easycsv_init for write mode
* easycsv fp member is now char buffer array
* csv_exist now has correct bool value
* easycsv_init now returns NULL if malloc fails or csv file is empty in read mode
* easycsv_free now properly destroys csv

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-17 15:11:57 +02:00
638af0080d In easycsv_print_columns/rows, update docs
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-17 13:51:39 +02:00
c19760c62f Fixed easycsv_find_num_value documentation
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-16 21:34:25 +02:00
61618b72bc Fix easycsv_find_value documentation
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-16 21:30:53 +02:00
bb1e4aef4f Specify that easycsv_read_value returns heap-allocated string pointer
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-16 20:24:23 +02:00
d4b53ede9b All private members are now public members.
* Construction, destruction, print row, print columns all work in READ mode

Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
2021-07-16 18:46:36 +02:00
1156c9debf Complete documentation of public header 2021-07-11 17:31:01 +02:00
449a1bb36c Partially add documentation and remove const when not needed 2021-07-11 17:05:18 +02:00
fd78125832 Removed _easycsv declaration in public header 2021-07-11 16:50:23 +02:00
fc57b7639b Separated private and public methods 2021-07-11 16:44:11 +02:00
83662a410e Move easycsv.h to include/ directory 2021-07-11 12:03:27 +02:00