summaryrefslogtreecommitdiff
path: root/testing/nToxAudio.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-14 11:31:56 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-14 11:31:56 -0400
commitd6a9ce3175bc80f1b04694b3c1415807a1fbab18 (patch)
tree2550e74e7872539aa0b9f4cd3443472018a493f5 /testing/nToxAudio.h
parent9c11c15385ff44609ac8438378a5bcb05d47c572 (diff)
Fixed some issues in toxdns and added a test.
Added request_id. request_id must be obtained with tox_generate_dns3_string, stored, then passed to tox_decrypt_dns3_TXT when we want to decrypt the received response.
Diffstat (limited to 'testing/nToxAudio.h')
-rw-r--r--testing/nToxAudio.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/testing/nToxAudio.h b/testing/nToxAudio.h
deleted file mode 100644
index 19b31f8b..00000000
--- a/testing/nToxAudio.h
+++ /dev/null
@@ -1,55 +0,0 @@
1/* nTox.h
2 *
3 *Textual frontend for Tox.
4 *
5 * Copyright (C) 2013 Tox project All Rights Reserved.
6 *
7 * This file is part of Tox.
8 *
9 * Tox is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * Tox is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
21 *
22 */
23
24#ifndef NTOX_H
25#define NTOX_H
26
27#include <stdio.h>
28#include <stdlib.h>
29#include <string.h>
30#include <ncurses.h>
31#include <curses.h>
32#include <ctype.h>
33#include <sys/socket.h>
34#include <netinet/in.h>
35#include <arpa/inet.h>
36#include <sys/types.h>
37#include <netdb.h>
38#include "../core/Messenger.h"
39#include "../core/network.h"
40
41#define STRING_LENGTH 256
42#define HISTORY 50
43#define PUB_KEY_BYTES 32
44
45void new_lines(char *line);
46void line_eval(char *line);
47void wrap(char output[STRING_LENGTH], char input[STRING_LENGTH], int line_width) ;
48int count_lines(char *string) ;
49char *appender(char *str, const char c);
50void do_refresh();
51
52
53
54
55#endif