PATH: //usr/include/proftpd
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 ascii.h
↓
X
📄 auth.h
↓
X
📄 base.h
↓
X
📄 bindings.h
↓
X
📄 buildstamp.h
↓
X
📄 ccan-json.h
↓
X
📄 child.h
↓
X
📄 class.h
↓
X
📄 cmd.h
↓
X
📄 compat.h
↓
X
📄 conf.h
↓
X
📄 config.h
↓
X
📄 configdb.h
↓
X
📄 ctrls.h
↓
X
📄 data.h
↓
X
📄 default_paths.h
↓
X
📄 dirtree.h
↓
X
📄 display.h
↓
X
📄 encode.h
↓
X
📄 env.h
↓
X
📄 error.h
↓
X
📄 event.h
↓
X
📄 expr.h
↓
X
📄 feat.h
↓
X
📄 filter.h
↓
X
📄 fsio.h
↓
X
📄 ftp.h
↓
X
📄 glibc-glob.h
↓
X
📄 hanson-tpl.h
↓
X
📄 help.h
↓
X
📄 ident.h
↓
X
📄 inet.h
↓
X
📄 jot.h
↓
X
📄 json.h
↓
X
📄 lastlog.h
↓
X
📄 log.h
↓
X
📄 logfmt.h
↓
X
📄 memcache.h
↓
X
📄 mkhome.h
↓
X
📄 mod_ctrls.h
↓
X
📄 mod_sftp.h
↓
X
📄 mod_tls.h
↓
X
📄 modules.h
↓
X
📄 netacl.h
↓
X
📄 netaddr.h
↓
X
📄 netio.h
↓
X
📄 openbsd-blowfish.h
↓
X
📄 options.h
↓
X
📄 os.h
↓
X
📄 parser.h
↓
X
📄 pidfile.h
↓
X
📄 pool.h
↓
X
📄 pr-syslog.h
↓
X
📄 privs.h
↓
X
📄 proctitle.h
↓
X
📄 proftpd.h
↓
X
📄 random.h
↓
X
📄 redis.h
↓
X
📄 regexp.h
↓
X
📄 response.h
↓
X
📄 rlimit.h
↓
X
📄 scoreboard.h
↓
X
📄 session.h
↓
X
📄 sets.h
↓
X
📄 signals.h
↓
X
📄 stash.h
↓
X
📄 str.h
↓
X
📄 support.h
↓
X
📄 table.h
↓
X
📄 throttle.h
↓
X
📄 timers.h
↓
X
📄 trace.h
↓
X
📄 utf8.h
↓
X
📄 var.h
↓
X
📄 version.h
↓
X
📄 xferlog.h
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: encode.h
/* * ProFTPD - FTP server daemon * Copyright (c) 2006-2014 The ProFTPD Project team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * * As a special exemption, The ProFTPD Project team and other respective * copyright holders give permission to link this program with OpenSSL, and * distribute the resulting executable, without including the source code for * OpenSSL in the source distribution. */ /* UTF8/charset encoding/decoding */ #ifndef PR_ENCODE_H #define PR_ENCODE_H /* Translates the `in' string into the local charset using the configured * encoding and returns the result. NULL is returned if there was an error. */ char *pr_decode_str(pool *p, const char *in, size_t inlen, size_t *outlen); /* Translates the `in' string from the local charset using the configured * encoding and returns the result. NULL is returned if there was an error. */ char *pr_encode_str(pool *p, const char *in, size_t inlen, size_t *outlen); /* Disables runtime use of encoding (assuming NLS is supported). */ void pr_encode_disable_encoding(void); /* Enables runtime use of encoding using the specified character set (assuming * NLS is supported). Zero is returned on success, -1 if there was an * issue either with the provided character set, or with the handling of * that set. */ int pr_encode_enable_encoding(const char *encoding); unsigned long pr_encode_get_policy(void); int pr_encode_set_policy(unsigned long policy); /* Determines whether the Encode API will disconnect the client if the * charset conversion fails, i.e. the client is using an illegal/unsupported * encoding. */ #define PR_ENCODE_POLICY_FL_REQUIRE_VALID_ENCODING 0x001 /* Returns string describing the current charset being used. */ const char *pr_encode_get_charset(void); /* Returns string describing the local charset (as determined by environment * variables and such). */ const char *pr_encode_get_local_charset(void); /* Returns string describing the current character set (or UTF8) encoding * being used. NULL is returned if no encoding is currently in effect. */ const char *pr_encode_get_encoding(void); /* Convenience function which returns TRUE if the given encoding is UTF8, * FALSE otherwise. (There are multiple different strings for denoting * UTF8, and callers should not need to have to know about those different * formulations.) * * Note that -1 will be returned if there was an error (e.g. NULL arguments). */ int pr_encode_is_utf8(const char *codeset); /* Convenience function which returns TRUE if the current encoding * (i.e. from pr_encode_get_encoding()) supports the Telnet IAC (0xFF) * character, FALSE otherwise. * * Some character sets (e.g. CP1251 for Cyrillic character sets) use that * value for a character. This breaks RFC959 compliance, unfortunately. */ int pr_encode_supports_telnet_iac(void); /* Change the local charset AND encoding being used. */ int pr_encode_set_charset_encoding(const char *charset, const char *encoding); /* Internal use only. */ int encode_init(void); int encode_free(void); #endif /* PR_ENCODE_H */
SIMPAN PERUBAHAN