Split secrets.h to public and core + miscellaneous cleanup

Also, changed some function names to this_style from thisStyle. More of
this in later commits.
This commit is contained in:
Esa Korhonen
2017-01-27 13:14:31 +02:00
parent 6cc205dafa
commit 1f9b18e3bc
15 changed files with 107 additions and 72 deletions

View File

@ -22,10 +22,17 @@
*
* @endverbatim
*/
#include <maxscale/cdefs.h>
#include <stdio.h>
#include <errno.h>
#include <sys/stat.h>
#include <maxscale/paths.h>
#include <maxscale/log_manager.h>
#include <maxscale/secrets.h>
#include "maxscale/secrets.h"
struct option options[] =
{
@ -162,7 +169,7 @@ int main(int argc, char **argv)
int rval = EXIT_SUCCESS;
char* enc = encryptPassword(path, used_password);
char* enc = encrypt_password(path, used_password);
if (enc)
{
printf("%s\n", enc);