summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-12-21 23:14:01 +0000
committerJeremy Allison <jra@samba.org>1999-12-21 23:14:01 +0000
commit8177fc778b02d9f61ef482fc60d32f353be77ba4 (patch)
tree163966dad88e6a91cf063df5e0f3f7946392ea11 /source3/include
parent44dc314fea03d23b137fb6f2f51a271e6c0ed1c2 (diff)
downloadsamba-8177fc778b02d9f61ef482fc60d32f353be77ba4.tar.gz
samba-8177fc778b02d9f61ef482fc60d32f353be77ba4.tar.bz2
samba-8177fc778b02d9f61ef482fc60d32f353be77ba4.zip
Added new unicode functions - not used yet, but are the basis for the
internal unicode conversion of Samba. Jeremy. (This used to be commit 302412df64aa4b6572b13ef61dfd68c3f8ebbb8b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 401a619110..6171eb5a46 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -423,6 +423,9 @@ void default_unicode_map(smb_ucs2_t **pp_cp_to_ucs2, uint16 **pp_ucs2_to_cp);
BOOL load_unicode_map(const char *codepage, smb_ucs2_t **pp_cp_to_ucs2, uint16 **pp_ucs2_to_cp);
BOOL load_dos_unicode_map(int codepage);
BOOL load_unix_unicode_map(const char *unix_char_set);
+char *unicode_to_unix(char *dst, const smb_ucs2_t *src, size_t dst_len);
+char *unicode_to_dos(char *dst, const smb_ucs2_t *src, size_t dst_len);
+size_t wstrlen(const smb_ucs2_t *src);
/*The following definitions come from libsmb/clientgen.c */
@@ -632,23 +635,6 @@ BOOL downgrade_share_oplock(files_struct *fsp);
BOOL modify_share_mode(files_struct *fsp, int new_mode, uint16 new_oplock);
int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf);
int share_mode_forall(void (*fn)(share_mode_entry *, char *));
-void share_status(FILE *f);
-
-/*The following definitions come from locking/locking_shm.c */
-
-struct share_ops *locking_shm_init(int ronly);
-
-/*The following definitions come from locking/locking_slow.c */
-
-struct share_ops *locking_slow_init(int ronly);
-
-/*The following definitions come from locking/shmem.c */
-
-struct shmem_ops *smb_shm_open(int ronly);
-
-/*The following definitions come from locking/shmem_sysv.c */
-
-struct shmem_ops *sysv_shm_open(int ronly);
/*The following definitions come from nmbd/asyncdns.c */