source:
roaraudio/libroar/auth.c
@
663:e9b7eeca0a38
Last change on this file since 663:e9b7eeca0a38 was 131:5c50eb890cf2, checked in by phi, 16 years ago | |
---|---|
File size: 273 bytes |
Line | |
---|---|
1 | //auth.c: |
2 | |
3 | #include "libroar.h" |
4 | |
5 | int roar_auth (struct roar_connection * con) { |
6 | struct roar_message mes; |
7 | |
8 | memset(&mes, 0, sizeof(struct roar_message)); // make valgrind happy! |
9 | |
10 | mes.cmd = ROAR_CMD_AUTH; |
11 | mes.datalen = 0; |
12 | |
13 | return roar_req(con, &mes, NULL); |
14 | } |
15 | |
16 | //ll |
Note: See TracBrowser
for help on using the repository browser.