summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_nls.h
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>1999-12-12 05:50:07 +0000
committerbp <bp@FreeBSD.org>1999-12-12 05:50:07 +0000
commit8fc09c011cc5df71c6f1ab5510dee8133224bbb4 (patch)
tree23846beaaea6fd45cec08f0065ee81e923253b53 /sys/netncp/ncp_nls.h
parent5dc2695cfcb184d5382b50e31170898726ed36da (diff)
downloadFreeBSD-src-8fc09c011cc5df71c6f1ab5510dee8133224bbb4.zip
FreeBSD-src-8fc09c011cc5df71c6f1ab5510dee8133224bbb4.tar.gz
Update to version 1.3.4 of ncplib. Cleanup header files.
Diffstat (limited to 'sys/netncp/ncp_nls.h')
-rw-r--r--sys/netncp/ncp_nls.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netncp/ncp_nls.h b/sys/netncp/ncp_nls.h
index e5e06b3..489b6df 100644
--- a/sys/netncp/ncp_nls.h
+++ b/sys/netncp/ncp_nls.h
@@ -31,8 +31,8 @@
*
* $FreeBSD$
*/
-#ifndef _NCP_NCP_NLS_H_
-#define _NCP_NCP_NLS_H_
+#ifndef _NETNCP_NCP_NLS_H_
+#define _NETNCP_NCP_NLS_H_
/* options for handle path & caseopt in mount struct */
#define NWHP_HDB 0x01 /* have dir base */
@@ -62,6 +62,8 @@ struct ncp_nlstables {
extern struct ncp_nlstables ncp_nls; /* active nls */
+__BEGIN_DECLS
+
int ncp_nls_setrecode(int scheme);
int ncp_nls_setrecodebyname(char *name);
int ncp_nls_setlocale(char *name);
@@ -70,6 +72,8 @@ char* ncp_nls_str_u2n(char *dst, const char *src);
char* ncp_nls_mem_n2u(char *dst, const char *src, int size);
char* ncp_nls_mem_u2n(char *dst, const char *src, int size);
+__END_DECLS
+
#else /* !KERNEL */
OpenPOWER on IntegriCloud