mirror of
https://github.com/cahirwpz/libnix.git
synced 2025-12-08 14:58:56 +00:00
12 lines
245 B
C
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;
|
|
}
|