X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fo_dir.h;h=bf45a14d02ec743953c2f054b8cbc3cafff751a9;hb=f49cf4afa0e408c527da08d076fec1159c3620d9;hp=4b725c031247343f714eead22a2a90d05dc4919a;hpb=247c3f60494e11c038595d7e5ae9e4edac181cc7;p=openssl.git diff --git a/crypto/o_dir.h b/crypto/o_dir.h index 4b725c0312..bf45a14d02 100644 --- a/crypto/o_dir.h +++ b/crypto/o_dir.h @@ -1,5 +1,6 @@ -/* crypto/o_dir.h -*- mode:C; c-file-style: "eay" -*- */ -/* Copied from Richard Levitte's (richard@levitte.org) LP library. All +/* crypto/o_dir.h */ +/* + * Copied from Richard Levitte's (richard@levitte.org) LP library. All * symbol names have been changed, with permission from the author. */ @@ -30,24 +31,25 @@ * SUCH DAMAGE. */ - #ifndef O_DIR_H -#define O_DIR_H +# define O_DIR_H #ifdef __cplusplus extern "C" { #endif - typedef struct OPENSSL_dir_context_st OPENSSL_DIR_CTX; +typedef struct OPENSSL_dir_context_st OPENSSL_DIR_CTX; - /* returns NULL on error or end-of-directory. - If it is end-of-directory, errno will be zero */ - const char *OPENSSL_DIR_read(OPENSSL_DIR_CTX **ctx, const char *directory); + /* + * returns NULL on error or end-of-directory. If it is end-of-directory, + * errno will be zero + */ +const char *OPENSSL_DIR_read(OPENSSL_DIR_CTX **ctx, const char *directory); /* returns 1 on success, 0 on error */ - int OPENSSL_DIR_end(OPENSSL_DIR_CTX **ctx); +int OPENSSL_DIR_end(OPENSSL_DIR_CTX **ctx); #ifdef __cplusplus } #endif -#endif /* LPDIR_H */ +#endif /* LPDIR_H */