Rev 7252 | 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; |
9304 | leency | 13 | char a_netcode_lib[]="/sys/lib/base64.obj"; |
3106 | leency | 14 | |
15 | dword base64_encode = #aBase64_encode; |
||
16 | dword base64_decode = #aBase64_decode; |
||
3839 | Asper | 17 | $DD 2 dup 0 |
3106 | leency | 18 | |
7252 | leency | 19 | char aBase64_encode[] = "base64_encode"; |
20 | char aBase64_decode[] = "base64_decode"; |
||
3106 | leency | 21 | |
22 | /*int base64_encode(char inp[], char outp[], int len); |
||
23 | Кодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp. |
||
24 | |||
25 | int base64_decode(char inp[], char outp[], int len); |
||
5598 | pavelyakov | 26 | Декодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp.*/ |
27 | |||
28 | #endif |