2013-10-03 08:38:25 -04:00
|
|
|
#ifndef __INTERFACE_H__
|
|
|
|
#define __INTERFACE_H__
|
2013-10-13 06:18:08 -04:00
|
|
|
|
|
|
|
#define COLOR_RED "\033[31;1m"
|
|
|
|
#define COLOR_NORMAL "\033[0m"
|
|
|
|
#define COLOR_GREEN "\033[32;1m"
|
|
|
|
#define COLOR_GREY "\033[37;1m"
|
|
|
|
|
|
|
|
|
2013-10-03 08:38:25 -04:00
|
|
|
char *get_default_prompt (void);
|
|
|
|
char *complete_none (const char *text, int state);
|
|
|
|
char **complete_text (char *text, int start, int end);
|
|
|
|
void interpreter (char *line);
|
2013-10-11 16:52:20 -04:00
|
|
|
|
|
|
|
void rprintf (const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
2013-10-13 06:18:08 -04:00
|
|
|
void iprintf (const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
|
|
|
void logprintf (const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
|
|
|
void hexdump (int *in_ptr, int *in_end);
|
2013-10-03 08:38:25 -04:00
|
|
|
#endif
|