save fuse prog command line in a comment
[protos/xbee-avr.git] / cmdline.h
index 3b8bf50..034244a 100644 (file)
--- a/cmdline.h
+++ b/cmdline.h
@@ -20,6 +20,8 @@
  *
  */
 
+#ifndef _CMDLINE_H_
+#define _CMDLINE_H_
 
 #define CMDLINE_UART 1
 #define XBEE_UART 0
@@ -37,6 +39,8 @@ int cmdline_poll(void);
 
 int cmdline_dev_send(char c, FILE* f);
 int cmdline_dev_recv(FILE* f);
+void cmdline_write_char(char c);
+void cmdline_valid_buffer(const char *buf, uint8_t size);
 
 int xbee_dev_send(char c, FILE* f);
 int xbee_dev_recv(FILE* f);
@@ -55,3 +59,5 @@ static inline uint8_t cmdline_getchar_wait(void)
 {
        return uart_recv(CMDLINE_UART);
 }
+
+#endif /* _CMDLINE_H_ */