Make header defines consistent

This commit is contained in:
James Booth
2016-07-24 14:51:39 +01:00
parent 310abd401d
commit 9cff37352a
33 changed files with 75 additions and 60 deletions

View File

@@ -32,8 +32,8 @@
*
*/
#ifndef ACCOUNT_H
#define ACCOUNT_H
#ifndef CONFIG_ACCOUNT_H
#define CONFIG_ACCOUNT_H
#include "common.h"

View File

@@ -32,8 +32,8 @@
*
*/
#ifndef ACCOUNTS_H
#define ACCOUNTS_H
#ifndef CONFIG_ACCOUNTS_H
#define CONFIG_ACCOUNTS_H
#define MAX_PASSWORD_SIZE 64

View File

@@ -32,9 +32,14 @@
*
*/
#ifndef CONFIG_CONFLISTS_H
#define CONFIG_CONFLISTS_H
#include <glib.h>
gboolean conf_string_list_add(GKeyFile *keyfile, const char *const group, const char *const key,
const char *const item);
gboolean conf_string_list_remove(GKeyFile *keyfile, const char *const group, const char *const key,
const char *const item);
#endif

View File

@@ -32,8 +32,8 @@
*
*/
#ifndef PREFERENCES_H
#define PREFERENCES_H
#ifndef CONFIG_PREFERENCES_H
#define CONFIG_PREFERENCES_H
#include "config.h"

View File

@@ -32,9 +32,14 @@
*
*/
#ifndef CONFIG_SCRIPTS_H
#define CONFIG_SCRIPTS_H
#include <glib.h>
void scripts_init(void);
GSList* scripts_list(void);
GSList* scripts_read(const char *const script);
gboolean scripts_exec(const char *const script);
#endif

View File

@@ -32,8 +32,8 @@
*
*/
#ifndef THEME_H
#define THEME_H
#ifndef CONFIG_THEME_H
#define CONFIG_THEME_H
#include "config.h"

View File

@@ -32,8 +32,8 @@
*
*/
#ifndef TLSCERTS_H
#define TLSCERTS_H
#ifndef CONFIG_TLSCERTS_H
#define CONFIG_TLSCERTS_H
typedef struct tls_cert_t {
int version;