diff options
| author | 2020-02-23 23:40:21 +0000 | |
|---|---|---|
| committer | 2020-02-23 23:40:21 +0000 | |
| commit | afc94c37458f3fb1a93f727a90bf1f56b6e5eee6 (patch) | |
| tree | 0468682389171f3638ccc7792ebf1dbc775a3212 /usr.bin/dig/lib/isc/include | |
| parent | rmeove more unused functions and code (diff) | |
| download | wireguard-openbsd-afc94c37458f3fb1a93f727a90bf1f56b6e5eee6.tar.xz wireguard-openbsd-afc94c37458f3fb1a93f727a90bf1f56b6e5eee6.zip | |
remove some unused functions
ok jung@
Diffstat (limited to 'usr.bin/dig/lib/isc/include')
| -rw-r--r-- | usr.bin/dig/lib/isc/include/isc/base64.h | 20 | ||||
| -rw-r--r-- | usr.bin/dig/lib/isc/include/isc/lex.h | 21 |
2 files changed, 2 insertions, 39 deletions
diff --git a/usr.bin/dig/lib/isc/include/isc/base64.h b/usr.bin/dig/lib/isc/include/isc/base64.h index 956c10b8705..c4413912948 100644 --- a/usr.bin/dig/lib/isc/include/isc/base64.h +++ b/usr.bin/dig/lib/isc/include/isc/base64.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: base64.h,v 1.3 2020/02/13 13:53:01 jsg Exp $ */ +/* $Id: base64.h,v 1.4 2020/02/23 23:40:22 jsg Exp $ */ #ifndef ISC_BASE64_H #define ISC_BASE64_H 1 @@ -67,24 +67,6 @@ isc_base64_decodestring(const char *cstr, isc_buffer_t *target); * * Other error returns are any possible error code from: *\li isc_lex_create(), - *\li isc_base64_tobuffer(). - */ - -isc_result_t -isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length); -/*!< - * \brief Convert base64 encoded text from a lexer context into data. - * - * Requires: - *\li 'lex' is a valid lexer context - *\li 'target' is a buffer containing binary data - *\li 'length' is an integer - * - * Ensures: - *\li target will contain the data represented by the base64 encoded - * string parsed by the lexer. No more than length bytes will be read, - * if length is positive. The 'used' pointer in target will be - * advanced as necessary. */ #endif /* ISC_BASE64_H */ diff --git a/usr.bin/dig/lib/isc/include/isc/lex.h b/usr.bin/dig/lib/isc/include/isc/lex.h index 829e3c19399..6ec56bc0cea 100644 --- a/usr.bin/dig/lib/isc/include/isc/lex.h +++ b/usr.bin/dig/lib/isc/include/isc/lex.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: lex.h,v 1.4 2020/02/22 19:47:07 jung Exp $ */ +/* $Id: lex.h,v 1.5 2020/02/23 23:40:22 jsg Exp $ */ #ifndef ISC_LEX_H #define ISC_LEX_H 1 @@ -248,25 +248,6 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp); *\li #ISC_R_NOMORE No more input sources */ -isc_result_t -isc_lex_getmastertoken(isc_lex_t *lex, isc_token_t *token, - isc_tokentype_t expect, isc_boolean_t eol); -/*%< - * Get the next token from a DNS master file type stream. This is a - * convenience function that sets appropriate options and handles quoted - * strings and end of line correctly for master files. It also ungets - * unexpected tokens. - * - * Requires: - *\li 'lex' is a valid lexer. - * - *\li 'token' is a valid pointer - * - * Returns: - * - * \li any return code from isc_lex_gettoken(). - */ - void isc_lex_ungettoken(isc_lex_t *lex, isc_token_t *tokenp); /*%< |
