Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  lua_toxdns.h
Language: C/C++
Code:
#ifndef LUA_TOXDNS_H
#define LUA_TOXDNS_H

#include <stdint.h>

#include "lua_common.h"

#include "tox/toxdns.h"
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"

#ifdef __cplusplus
extern "C" {
#endif

#define TOX_DNS_STR "ToxDNS"
typedef struct _ToxDNS {
    void *dns;
    uint8_t *key;
} ToxDNS;

int lua_tox_generate_dns3_string(lua_State*);
int lua_tox_decrypt_dns3_TXT(lua_State*);

#ifdef __cplusplus
}
#endif

#endif // LUA_TOXDNS_H

          
Comments: