add HCNetSDK support Fixed
git-svn-id: http://192.168.1.226/svn/proxy@10 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | |
| | | #gcc -pthread -lmysqlclient proxyconsole.c -o proxyconsole |
| | | |
| | | gcc proxyconsole-hc.c -L./HCNetSDK/lib -lhcnetsdk -lHCCore -lhpr -o proxyconsole-hc |
| | | g++ proxyconsole.cpp -pthread -L./HCNetSDK/lib -lhcnetsdk -lHCCore -lhpr -o proxyconsole-hc |
File was renamed from ProxyConsole/proxyconsole.c |
| | |
| | | return -1;
|
| | | }
|
| | |
|
| | | void AurhorizationResponseBytesReal(char* byte_array_out,int * byte_array_length_out,char *Myuri, char *nonce,char *cnonce,char *response)
|
| | | void AurhorizationResponseBytesReal(char* byte_array_out,int * byte_array_length_out,char *Myuri, char *nonce,const char *cnonce,char *response)
|
| | | {
|
| | | // Authorization: Digest username="supervisor", realm="VideoIQ", nonce="n99u1VYBAABAf0HT+h92EO4hT2CzmfxG", uri="/PSIA/VIQ/Event/metadata/0/files", response="7d8d929e39655ad9f3e6e94e9004792e", qop=auth, nc=00000001, cnonce="0d2175d8cdb63f84f18894200e129ace", algorithm="MD5"
|
| | | int idx=0,len;
|
copy from ProxyConsole/proxyconsole.c
copy to ProxyConsole/proxyconsole.cpp
File was copied from ProxyConsole/proxyconsole.c |
| | |
| | | return -1;
|
| | | }
|
| | |
|
| | | void AurhorizationResponseBytesReal(char* byte_array_out,int * byte_array_length_out,char *Myuri, char *nonce,char *cnonce,char *response)
|
| | | void AurhorizationResponseBytesReal(char* byte_array_out,int * byte_array_length_out,char *Myuri, char *nonce,const char *cnonce,char *response)
|
| | | {
|
| | | // Authorization: Digest username="supervisor", realm="VideoIQ", nonce="n99u1VYBAABAf0HT+h92EO4hT2CzmfxG", uri="/PSIA/VIQ/Event/metadata/0/files", response="7d8d929e39655ad9f3e6e94e9004792e", qop=auth, nc=00000001, cnonce="0d2175d8cdb63f84f18894200e129ace", algorithm="MD5"
|
| | | int idx=0,len;
|