1
0
mirror of https://github.com/cahirwpz/libnix.git synced 2025-12-08 14:58:56 +00:00
Files
amiga-libnix2/sources/socket/unistd/crypt.c
2014-01-05 20:02:29 +01:00

12 lines
245 B
C

#include <unistd.h>
//
#include "socket.h"
char *crypt(const char *key, const char *setting)
{ struct SocketSettings *lss = _lx_get_socket_settings();
if (lss->lx_network_type == LX_AMITCP)
return UG_crypt(key,setting);
return NULL;
}