Subversion Repositories Kolibri OS

Rev

Rev 5598 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. //Network library
  2. #ifndef INCLUDE_NETCODE_H
  3. #define INCLUDE_NETCODE_H
  4.  
  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
  12. dword netcode_lib = #a_netcode_lib;
  13. char a_netcode_lib[]="/sys/lib/netcode.obj";
  14.  
  15. dword base64_encode     = #aBase64_encode;
  16. dword base64_decode     = #aBase64_decode;
  17. dword qp_decode         = #aQp_decode;
  18. $DD 2 dup 0
  19.  
  20. char aBase64_encode[] = "base64_encode";
  21. char aBase64_decode[] = "base64_decode";
  22. char aQp_decode[]     = "qp_decode";
  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);
  28. Декодирование массива inp длиной len в массив outp (строку с '\0'). Функция возвращает длину outp.*/
  29.  
  30. #endif