cifs: rename cifs_strlcpy_to_host and make it use new functions
[firefly-linux-kernel-4.4.55.git] / fs / cifs / cifs_unicode.h
index 1857f5ff9337983739ccc1e0b605dd15d509e8e9..e620f0b422013b98d5341685d4437e359119fa10 100644 (file)
@@ -78,6 +78,8 @@ int cifs_ucs2_bytes(const __le16 *from, int maxbytes,
                    const struct nls_table *codepage);
 int cifs_strfromUCS_le(char *, const __le16 *, int, const struct nls_table *);
 int cifs_strtoUCS(__le16 *, const char *, int, const struct nls_table *);
+char *cifs_strndup(const char *src, const int maxlen, const bool is_unicode,
+                  const struct nls_table *codepage);
 #endif
 
 /*