2018-02-10 13:52:33 -08:00
|
|
|
#ifndef LIBABACUS_H
|
|
|
|
#define LIBABACUS_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An enum that represents the outcomes of
|
|
|
|
* libabacus functions that can fail.
|
|
|
|
*/
|
|
|
|
enum libab_result {
|
|
|
|
LIBAB_SUCCESS,
|
2018-02-10 16:01:01 -08:00
|
|
|
LIBAB_MALLOC,
|
|
|
|
LIBAB_BAD_PATTERN,
|
|
|
|
LIBAB_FAILED_MATCH
|
2018-02-10 13:52:33 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef enum libab_result libab_result;
|
|
|
|
|
|
|
|
#endif
|