2016-04-18 09:00:57 -07:00
|
|
|
#ifndef NMS_H
|
|
|
|
#define NMS_H 1
|
2016-04-15 11:28:06 -07:00
|
|
|
|
2016-04-20 14:51:36 -07:00
|
|
|
#define INIT_NMSARGS { .src = NULL, .return_opts = NULL, .input_cursor_x = -1, .input_cursor_y = -1 }
|
2016-04-20 14:08:35 -07:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char *src;
|
|
|
|
char *return_opts;
|
2016-04-20 14:51:36 -07:00
|
|
|
int input_cursor_x;
|
|
|
|
int input_cursor_y;
|
2016-04-20 14:24:11 -07:00
|
|
|
} NmsArgs;
|
2016-04-20 14:08:35 -07:00
|
|
|
|
2016-04-15 11:28:06 -07:00
|
|
|
// Function prototypes
|
2016-04-12 13:18:53 -07:00
|
|
|
|
2016-04-18 09:00:57 -07:00
|
|
|
// Display the characters stored in the display queue
|
2016-04-20 14:24:11 -07:00
|
|
|
char nmsexec(NmsArgs *);
|
2016-04-12 13:18:53 -07:00
|
|
|
|
2016-04-18 09:00:57 -07:00
|
|
|
#endif
|