aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ax25.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-12-07 18:43:13 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-08 20:19:25 -0500
commite8cc49bb0fdb9e18a99e6780073d1400ba2b0d1f (patch)
treef60c38413d47ae0d793673a85578c6b82088aa97 /include/net/ax25.h
parent6c1bbcc8836358294c431e0c09e85e3480895659 (diff)
[AX.25]: Constify ax25 utility functions
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ax25.h')
-rw-r--r--include/net/ax25.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index 69374cd1a857..41acb093caae 100644
--- a/include/net/ax25.h
+++ b/include/net/ax25.h
@@ -283,14 +283,16 @@ extern struct sock *ax25_make_new(struct sock *, struct ax25_dev *);
283 283
284/* ax25_addr.c */ 284/* ax25_addr.c */
285extern ax25_address null_ax25_address; 285extern ax25_address null_ax25_address;
286extern char *ax2asc(char *buf, ax25_address *); 286extern char *ax2asc(char *buf, const ax25_address *);
287extern void asc2ax(ax25_address *addr, char *callsign); 287extern void asc2ax(ax25_address *addr, const char *callsign);
288extern int ax25cmp(ax25_address *, ax25_address *); 288extern int ax25cmp(const ax25_address *, const ax25_address *);
289extern int ax25digicmp(ax25_digi *, ax25_digi *); 289extern int ax25digicmp(const ax25_digi *, const ax25_digi *);
290extern unsigned char *ax25_addr_parse(unsigned char *, int, ax25_address *, ax25_address *, ax25_digi *, int *, int *); 290extern const unsigned char *ax25_addr_parse(const unsigned char *, int,
291extern int ax25_addr_build(unsigned char *, ax25_address *, ax25_address *, ax25_digi *, int, int); 291 ax25_address *, ax25_address *, ax25_digi *, int *, int *);
292extern int ax25_addr_size(ax25_digi *); 292extern int ax25_addr_build(unsigned char *, const ax25_address *,
293extern void ax25_digi_invert(ax25_digi *, ax25_digi *); 293 const ax25_address *, const ax25_digi *, int, int);
294extern int ax25_addr_size(const ax25_digi *);
295extern void ax25_digi_invert(const ax25_digi *, ax25_digi *);
294 296
295/* ax25_dev.c */ 297/* ax25_dev.c */
296extern ax25_dev *ax25_dev_list; 298extern ax25_dev *ax25_dev_list;