Changeset 1162:d9b136a87245 in roaraudio for roard
- Timestamp:
- 01/24/09 02:00:26 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/commands.c
r1043 r1162 29 29 {ROAR_CMD_IDENTIFY, "IDENTIFY", req_on_identify}, 30 30 {ROAR_CMD_AUTH, "AUTH", req_on_auth}, 31 {ROAR_CMD_WHOAMI, "WHOAMI", req_on_whoami}, 32 33 31 34 {ROAR_CMD_NEW_STREAM, "NEW_STREAM", req_on_new_stream}, 32 35 -
roard/include/req.h
r1043 r1162 32 32 int req_on_identify (int client, struct roar_message * mes, char * data); 33 33 int req_on_auth (int client, struct roar_message * mes, char * data); 34 35 int req_on_whoami (int client, struct roar_message * mes, char * data); 34 36 35 37 int req_on_new_stream (int client, struct roar_message * mes, char * data); -
roard/req.c
r1156 r1162 72 72 73 73 74 int req_on_whoami (int client, struct roar_message * mes, char * data) { 75 mes->cmd = ROAR_CMD_OK; 76 mes->datalen = 1; 77 mes->data[0] = client; 78 return 0; 79 } 80 81 74 82 int req_on_new_stream (int client, struct roar_message * mes, char * data) { 75 83 int stream;
Note: See TracChangeset
for help on using the changeset viewer.