summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_core.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-06-24 04:23:46 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-06-24 10:03:18 +0200
commite5067d7cd967cb17067de24a162306b79f432b20 (patch)
tree541f101762df32a5742bec354009986a96d8e564 /net/ax25/ax25_core.h
parent86a981e836404006efc35881ebf3d5ae36925e82 (diff)
Import newax25-2.4.3.patch.1.bz2HEADnewax25-2.4.3-1
And cleanup the *.orig and *.rej files and whitespace errors that are part of the original patch. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'net/ax25/ax25_core.h')
-rw-r--r--net/ax25/ax25_core.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/ax25/ax25_core.h b/net/ax25/ax25_core.h
new file mode 100644
index 000000000..bbb31183f
--- /dev/null
+++ b/net/ax25/ax25_core.h
@@ -0,0 +1,21 @@
+#ifndef _AX25_CORE_H
+#define _AX25_CORE_H
+
+extern char* ax2asc(ax25_address*);
+extern int ax25cmp(ax25_address*, ax25_address*);
+extern ax25_address* asc2ax(char*);
+extern void ax25_insert_cb(ax25_cb*);
+extern void ax25_remove_cb(ax25_cb*);
+extern ax25_cb* ax25_find_cb(ax25_addr_t*, struct net_device*);
+extern void ax25_destroy_cb(ax25_cb*);
+extern void ax25_destroy_socket(struct sock*);
+extern void ax25_fillin_cb(ax25_cb*, struct net_device*);
+extern ax25_cb* ax25_create_cb(void);
+extern void ax25_free_cb(ax25_cb*);
+extern void ax25_free_sock(struct sock*);
+extern int ax25_build_addr(unsigned char*, ax25_addr_t*, int, int);
+extern int ax25_sizeof_addr(ax25_addr_t*);
+extern void ax25_invert_addr(ax25_addr_t*, ax25_addr_t*);
+
+extern ax25_address null_ax25_address;
+#endif