kolibrios-gitea/programs/cmm/lib/obj/netcode.h
Kirill Lipatov (Leency) 3b314ebaf8 IMG:
- replace netcode.obj by base64.obj
- add lib/libcrash.obj
WEBVIEW:
- use custom utf8rutodos() if iconv() failed (the case for forum.old-dos.ru)

git-svn-id: svn://kolibrios.org@9304 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-24 10:52:23 +00:00

28 lines
912 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//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[]="/sys/lib/base64.obj";
dword base64_encode = #aBase64_encode;
dword base64_decode = #aBase64_decode;
$DD 2 dup 0
char aBase64_encode[] = "base64_encode";
char aBase64_decode[] = "base64_decode";
/*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