projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only receive RTP audio data, if connected to remote.
[lcr.git]
/
crypt.h
diff --git
a/crypt.h
b/crypt.h
index
26d1c3e
..
5659082
100644
(file)
--- a/
crypt.h
+++ b/
crypt.h
@@
-40,7
+40,7
@@
enum { /* crypt manager states */
};
#define CM_ST_NAMES \
};
#define CM_ST_NAMES \
-static char *cm_st_name[] = { \
+static c
onst c
har *cm_st_name[] = { \
"NULL", \
"IDENT", \
"KEYGEN", \
"NULL", \
"IDENT", \
"KEYGEN", \
@@
-103,7
+103,7
@@
enum { /* messages */
};
#define CM_MSG_NAMES \
};
#define CM_MSG_NAMES \
-static char *cm_msg_name[] = { \
+static c
onst c
har *cm_msg_name[] = { \
"CP_IDENT", \
"CP_SLAVE", \
"CP_MASTER", \
"CP_IDENT", \
"CP_SLAVE", \
"CP_MASTER", \
@@
-168,6
+168,6
@@
int cm_msg_num = sizeof(cm_msg_name) / sizeof(char *);
cryptman_getinf(param, a, b);
void crc_init(void);
cryptman_getinf(param, a, b);
void crc_init(void);
-unsigned
long
crc32(unsigned char *data, int len);
+unsigned
int
crc32(unsigned char *data, int len);
int cryptman_encode_bch(unsigned char *data, int len, unsigned char *buf, int buf_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);