Data-Over-Voice
[lcr.git] / crypt.h
diff --git a/crypt.h b/crypt.h
index 1c6924c..5659082 100644 (file)
--- a/crypt.h
+++ b/crypt.h
@@ -40,7 +40,7 @@ enum { /* crypt manager states */
 };
 
 #define CM_ST_NAMES \
-static char *cm_st_name[] = { \
+static const char *cm_st_name[] = { \
        "NULL", \
        "IDENT", \
        "KEYGEN", \
@@ -103,7 +103,7 @@ enum { /* messages */
 };
 
 #define CM_MSG_NAMES \
-static char *cm_msg_name[] = { \
+static const char *cm_msg_name[] = { \
        "CP_IDENT", \
        "CP_SLAVE", \
        "CP_MASTER", \
@@ -170,4 +170,4 @@ int cm_msg_num = sizeof(cm_msg_name) / sizeof(char *);
 void crc_init(void);
 unsigned int crc32(unsigned char *data, int len);
 int cryptman_encode_bch(unsigned char *data, int len, unsigned char *buf, int buf_len);
-
+int crypt_handler(struct lcr_timer *timer, void *instance, int index);