Rev 5598 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3106 | leency | 1 | //Network library |
5598 | pavelyakov | 2 | #ifndef INCLUDE_NETCODE_H |
3 | #define INCLUDE_NETCODE_H |
||
3106 | leency | 4 | |
5598 | pavelyakov | 5 | #ifndef INCLUDE_KOLIBRI_H |
6 | #include "../lib/kolibri.h" |
||
7 | #endif |
||
8 | |||
9 | #ifndef INCLUDE_DLL_H |
||
10 | #include "../lib/dll.h" |
||
11 | #endif |
||
3106 | leency | 12 | dword netcode_lib = #a_netcode_lib; |
7252 | leency | 13 | char a_netcode_lib[]="/sys/lib/netcode.obj"; |
3106 | leency | 14 | |
15 | dword base64_encode = #aBase64_encode; |
||
16 | dword base64_decode = #aBase64_decode; |
||
17 | dword qp_decode = #aQp_decode; |
||
3839 | Asper | 18 | $DD 2 dup 0 |
3106 | leency | 19 | |
7252 | leency | 20 | char aBase64_encode[] = "base64_encode"; |
21 | char aBase64_decode[] = "base64_decode"; |
||
22 | char aQp_decode[] = "qp_decode"; |
||
3106 | leency | 23 | |
24 | /*int base64_encode(char inp[], char outp[], int len); |
||
25 | Кодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp. |
||
26 | |||
27 | int base64_decode(char inp[], char outp[], int len); |
||
5598 | pavelyakov | 28 | Декодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp.*/ |
29 | |||
30 | #endif |