* If invalid number of arguments supplied to main(), return errno E2BIG
* add Makefile rule to test memory leak of wrong number of arguments to
main()
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* numericx_translate() only returns status codes. Instead of returning
the resulting translated string.
* add result_string to numericx_translate() arguments, that is the
variable to where to store the resulting translated string.
* for the cli program, now the message is delegated to main. Also
changed the doxygen comments of main().
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add numericx_free() and numericx_translate()
* functionality in main() to the minimum, to house the
numericx_translate() in it
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* transformed comments into doxygen comments and set it's attributes
* add doxygen.conf file
* add doxygen html documentation
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add better comments to the code structure
* on decrement_number_string(), renamed arguments for better legibility
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add to increment() one more argument (char* brand_new_digit)
* add TO_INFINITE_BASE functionality
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* add reverse_string()
* number variable instead of number_first/number_last
* add flags TO_UNITS_ON_THE_END and FROM_UNITS_ON_THE_END
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>