Add missing #include "str.h"

This commit is contained in:
Andrew Bettison 2016-09-20 13:33:19 +09:30
parent 5a77008aa8
commit 6e65a2399f
19 changed files with 19 additions and 4 deletions

1
cli.c
View File

@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "os.h"
#include "log.h"
#include "debug.h"
#include "str.h"
#include "numeric_str.h"
#include "strbuf_helpers.h"
#include "dataformats.h"

View File

@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "dataformats.h"
#include "commandline.h"
#include "server.h"
#include "str.h"
DEFINE_CMD(commandline_usage,CLIFLAG_PERMISSIVE_CONFIG,
"Display command usage.",

View File

@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "cli.h"
#include "conf.h"
#include "commandline.h"
#include "str.h"
#include "strbuf.h"
#include "strbuf_helpers.h"
#include "instance.h"

View File

@ -26,6 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "conf.h"
#include "log.h"
#include "debug.h"
#include "str.h"
#include "numeric_str.h"
#include "base64.h"
#include "uri.h"

View File

@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "mem.h"
#include "net.h"
#include "conf.h"
#include "str.h"
#define RHIZOME_SERVER_MAX_LIVE_REQUESTS 32

View File

@ -20,6 +20,7 @@
#include <stdio.h>
#include "cli.h"
#include "serval_types.h"
#include "str.h"
#include "dataformats.h"
#include "os.h"
#include "conf.h"

View File

@ -26,6 +26,7 @@
#include "constants.h"
#include "conf.h"
#include "mem.h"
#include "str.h"
#include "numeric_str.h"
#include "server.h"

View File

@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "crypto.h"
#include "strbuf.h"
#include "keyring.h"
#include "str.h"
#include "dataformats.h"
#include "overlay_buffer.h"

View File

@ -8,9 +8,9 @@
#include "instance.h"
#include "conf.h"
#include "commandline.h"
#include "str.h"
#include "numeric_str.h"
// output the list of existing conversations for a given local identity
DEFINE_CMD(app_meshms_conversations, 0,
"List MeshMS threads that include <sid>",

View File

@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "conf.h"
#include "httpd.h"
#include "str.h"
#include "numeric_str.h"
#include "base64.h"
#include "strbuf_helpers.h"

View File

@ -8,7 +8,6 @@
#include "conf.h"
#include "overlay_buffer.h"
static int message_ply_load_manifest(const keyring_identity *id, struct message_ply *ply, rhizome_manifest *m)
{
assert(ply->known_bid);

View File

@ -33,7 +33,6 @@
#include "uri.h"
#include "overlay_buffer.h"
DEFINE_CMD(app_mdp_ping, 0,
"Attempts to ping specified node via Mesh Datagram Protocol (MDP).",
"mdp","ping","[--interval=<ms>]","[--timeout=<seconds>]","[--wait-for-duplicates]",

View File

@ -21,6 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "conf.h"
#include "mem.h"
#include "str.h"
#include "overlay_buffer.h"
/*

View File

@ -24,6 +24,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "conf.h"
#include "rhizome.h"
#include "str.h"
#include "numeric_str.h"
#include "mem.h"
#include "keyring.h"

View File

@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "conf.h"
#include "httpd.h"
#include "str.h"
#include "base64.h"
#include "strbuf_helpers.h"

View File

@ -31,6 +31,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "rhizome.h"
#include "conf.h"
#include "str.h"
#define RHIZOME_BUFFER_MAXIMUM_SIZE (1024*1024)

View File

@ -30,6 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include "conf.h"
#include "str.h"
#include "strbuf.h"
#include "strbuf_helpers.h"
#include "overlay_interface.h"

View File

@ -1,6 +1,8 @@
#ifndef __SYNC_H
#define __SYNC_H
#include "str.h" // for alloca_tohex()
/*
Synchronize two sets of keys, which are likely to contain many common values
*/
@ -42,4 +44,4 @@ int sync_recv_message(struct sync_state *state, void *peer_context, const uint8_
void sync_enum_differences(struct sync_state *state,
void (*callback)(void *context, void *peer_context, const sync_key_t *key, uint8_t theirs));
#endif
#endif

View File

@ -32,6 +32,7 @@
#include "conf.h"
#include "commandline.h"
#include "mem.h"
#include "str.h"
void cli_cleanup(){}
void cf_on_config_change(){}