remove some unused functions
removed some functions that are no longer used and unlikely to be resurrected, and also some that were only used to support Windows and can now be replaced with generic versions.
This commit is contained in:
@@ -68,13 +68,4 @@ isc_dir_chdir(const char *dirname);
|
||||
isc_result_t
|
||||
isc_dir_chroot(const char *dirname);
|
||||
|
||||
isc_result_t
|
||||
isc_dir_createunique(char *templet);
|
||||
/*!<
|
||||
* Use a templet (such as from isc_file_mktemplate()) to create a uniquely
|
||||
* named, empty directory. The templet string is modified in place.
|
||||
* If result == ISC_R_SUCCESS, it is the name of the directory that was
|
||||
* created.
|
||||
*/
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
@@ -102,16 +102,8 @@ isc_result_t
|
||||
isc_file_openuniqueprivate(char *templet, FILE **fp);
|
||||
isc_result_t
|
||||
isc_file_openuniquemode(char *templet, int mode, FILE **fp);
|
||||
isc_result_t
|
||||
isc_file_bopenunique(char *templet, FILE **fp);
|
||||
isc_result_t
|
||||
isc_file_bopenuniqueprivate(char *templet, FILE **fp);
|
||||
isc_result_t
|
||||
isc_file_bopenuniquemode(char *templet, int mode, FILE **fp);
|
||||
/*!<
|
||||
* \brief Create and open a file with a unique name based on 'templet'.
|
||||
* isc_file_bopen*() open the file in binary mode in Windows.
|
||||
* isc_file_open*() open the file in text mode in Windows.
|
||||
*
|
||||
* Notes:
|
||||
*\li 'template' is a reserved work in C++. If you want to complain
|
||||
@@ -312,8 +304,8 @@ isc_result_t
|
||||
isc_file_splitpath(isc_mem_t *mctx, const char *path, char **dirname,
|
||||
char const **basename);
|
||||
/*%<
|
||||
* Split a path into dirname and basename. If 'path' contains no slash
|
||||
* (or, on windows, backslash), then '*dirname' is set to ".".
|
||||
* Split a path into dirname and basename. If 'path' contains no slash,
|
||||
* then '*dirname' is set to ".".
|
||||
*
|
||||
* Allocates memory for '*dirname', which can be freed with isc_mem_free().
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user