⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strq.h

📁 UNIX环境下命令行FTP/SFTP工具源代码
💻 H
字号:
/* $Id: strq.h,v 1.4 2001/05/12 18:43:01 mhe Exp $ * * strq.h -- string functions, handles quoted text * * Yet Another FTP Client * Copyright (C) 1998-2001, Martin Hedenfalk <mhe@stacken.kth.se> * * 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. See COPYING for more details. */#ifndef _strq_h_included#define _strq_h_includedvoid strpush(char *s, int n);void strpull(char *s, int n);int strqnchr(const char *str, char c);char *strqchr(char *s, int ch);char *strqsep(char **s, char delim);void unquote(char *str);void unquote_escapes(char *str);char *stripslash(char *p);const char *base_name_ptr(const char *s);char *base_dir_xptr(const char *path);char *strip_blanks(char *str);void fix_unprintable(char *str);char *tilde_expand_home(const char *str, const char *home);char *path_absolute(const char *path,					const char *curdir, const char *homedir);char *path_collapse(char *path);char *path_dos2unix(char *path);int str2bool(const char *e);char *encode_rfc1738(const char *str, const char *xtra);char *decode_rfc1738(const char *str);char *encode_url_directory(const char *str);#define encode_url_username(str)   encode_rfc1738(str, ":@/")#define encode_url_password(str)   encode_rfc1738(str, ":@/")void strip_trailing_chars(char *str, const char *chrs);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -