mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
4e9602a915
New lib: lexer.h git-svn-id: svn://kolibrios.org@5598 a494cfbc-eb01-0410-851d-a64ba20cac60
30 lines
1007 B
C
30 lines
1007 B
C
//Network library
|
||
#ifndef INCLUDE_NETCODE_H
|
||
#define INCLUDE_NETCODE_H
|
||
|
||
#ifndef INCLUDE_KOLIBRI_H
|
||
#include "../lib/kolibri.h"
|
||
#endif
|
||
|
||
#ifndef INCLUDE_DLL_H
|
||
#include "../lib/dll.h"
|
||
#endif
|
||
dword netcode_lib = #a_netcode_lib;
|
||
char a_netcode_lib[21]="/sys/lib/netcode.obj\0";
|
||
|
||
dword base64_encode = #aBase64_encode;
|
||
dword base64_decode = #aBase64_decode;
|
||
dword qp_decode = #aQp_decode;
|
||
$DD 2 dup 0
|
||
|
||
char aBase64_encode[14] = "base64_encode\0";
|
||
char aBase64_decode[14] = "base64_decode\0";
|
||
char aQp_decode[10] = "qp_decode\0";
|
||
|
||
/*int base64_encode(char inp[], char outp[], int len);
|
||
Кодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp.
|
||
|
||
int base64_decode(char inp[], char outp[], int len);
|
||
Декодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp.*/
|
||
|
||
#endif |