-#ifndef GETLINE_H
-#define GETLINE_H
+#ifndef CMDEDIT_H
+#define CMDEDIT_H
/* unix systems can #define POSIX to use termios, otherwise
* the bsd or sysv interface will be used
typedef size_t (*cmdedit_strwidth_proc)(char *);
+void cmdedit_init(void);
void cmdedit_read_input(char* promptStr, char* command); /* read a line of input */
void cmdedit_setwidth(int); /* specify width of screen */
void cmdedit_histadd(char *); /* adds entries to hist */
#else /* not __STDC__ */
+void cmdedit_init(void);
void cmdedit_read_input(char* promptStr, char* command);
void cmdedit_setwidth();
void cmdedit_histadd();
#endif /* __STDC__ */
-#endif /* GETLINE_H */
+#endif /* CMDEDIT_H */