summaryrefslogtreecommitdiff
path: root/jni/iodine/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'jni/iodine/src/client.h')
-rw-r--r--jni/iodine/src/client.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/jni/iodine/src/client.h b/jni/iodine/src/client.h
index e2d9501..79598fb 100644
--- a/jni/iodine/src/client.h
+++ b/jni/iodine/src/client.h
@@ -1,5 +1,6 @@
/*
- * Copyright (c) 2006-2009 Bjorn Andersson <flex@kryo.se>, Erik Ekman <yarrick@kryo.se>
+ * Copyright (c) 2006-2014 Erik Ekman <yarrick@kryo.se>,
+ * 2006-2009 Bjorn Andersson <flex@kryo.se>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -23,12 +24,12 @@ void client_stop();
enum connection client_get_conn();
const char *client_get_raw_addr();
-void client_set_nameserver(const char *cp, int port);
+void client_set_nameserver(struct sockaddr_storage *, int);
void client_set_topdomain(const char *cp);
void client_set_password(const char *cp);
-void set_qtype(char *qtype);
-char *get_qtype();
-void set_downenc(char *encoding);
+int client_set_qtype(char *qtype);
+char *client_get_qtype();
+void client_set_downenc(char *encoding);
void client_set_selecttimeout(int select_timeout);
void client_set_lazymode(int lazy_mode);
void client_set_hostname_maxlen(int i);