diff options
author | Craig Tiller <ctiller@google.com> | 2016-02-22 22:22:22 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-02-22 22:22:22 -0800 |
commit | 521423c8cf471bfdc4c7e1294890252220518416 (patch) | |
tree | fa0173dfd40a153ef9da08230ea783b3f93fd02f /src/core/support/load_file.h | |
parent | 732a875fe82c80a735cc9ca6a430f962811188ab (diff) | |
parent | bfc7adaa714b5d8a3b0dca4a25d572dbd92039be (diff) |
Regenerate files, fix bugs
Diffstat (limited to 'src/core/support/load_file.h')
-rw-r--r-- | src/core/support/load_file.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/core/support/load_file.h b/src/core/support/load_file.h index d8b7cea44f..fcac94af7e 100644 --- a/src/core/support/load_file.h +++ b/src/core/support/load_file.h @@ -31,8 +31,8 @@ * */ -#ifndef GRPC_INTERNAL_CORE_SUPPORT_FILE_H -#define GRPC_INTERNAL_CORE_SUPPORT_FILE_H +#ifndef GRPC_INTERNAL_CORE_SUPPORT_LOAD_FILE_H +#define GRPC_INTERNAL_CORE_SUPPORT_LOAD_FILE_H #include <stdio.h> @@ -42,22 +42,14 @@ extern "C" { #endif -/* File utility functions */ - /* Loads the content of a file into a slice. add_null_terminator will add a NULL terminator if non-zero. The success parameter, if not NULL, will be set to 1 in case of success and 0 in case of failure. */ gpr_slice gpr_load_file(const char *filename, int add_null_terminator, int *success); -/* Creates a temporary file from a prefix. - If tmp_filename is not NULL, *tmp_filename is assigned the name of the - created file and it is the responsibility of the caller to gpr_free it - unless an error occurs in which case it will be set to NULL. */ -FILE *gpr_tmpfile(const char *prefix, char **tmp_filename); - #ifdef __cplusplus } #endif -#endif /* GRPC_INTERNAL_CORE_SUPPORT_FILE_H */ +#endif /* GRPC_INTERNAL_CORE_SUPPORT_LOAD_FILE_H */ |