mirror of https://gitee.com/bigwinds/arangodb
the great rename
This commit is contained in:
parent
d940df4c6a
commit
87afcf5e8d
|
@ -27,10 +27,10 @@
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/associative-multi.h"
|
#include "Basics/associative-multi.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- private macros
|
// --SECTION-- private macros
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- private macros
|
// --SECTION-- private macros
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
/// @author Copyright 2012, triAGENS GmbH, Cologne, Germany
|
/// @author Copyright 2012, triAGENS GmbH, Cologne, Germany
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "BasicsC/csv.h"
|
#include "Basics/csv.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief create a parser instance
|
/// @brief create a parser instance
|
||||||
|
|
|
@ -29,12 +29,11 @@
|
||||||
|
|
||||||
#include "Basics/StringBuffer.h"
|
#include "Basics/StringBuffer.h"
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/random.h"
|
#include "BasicsC/random.h"
|
||||||
|
|
||||||
using namespace triagens::basics;
|
using namespace triagens::basics;
|
||||||
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- setup / tear-down
|
// --SECTION-- setup / tear-down
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- private macros
|
// --SECTION-- private macros
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- private macros
|
// --SECTION-- private macros
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/utf8-helper.h"
|
#include "BasicsC/utf8-helper.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/Utf8Helper.h"
|
#include "Basics/Utf8Helper.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- private macros
|
// --SECTION-- private macros
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
|
|
||||||
#include "ahuacatl-access-optimiser.h"
|
#include "ahuacatl-access-optimiser.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
|
|
||||||
struct TRI_aql_context_s;
|
struct TRI_aql_context_s;
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_vector_pointer_s;
|
struct TRI_vector_pointer_s;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
@ -96,7 +96,7 @@ TRI_aql_reference_e;
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
typedef struct TRI_aql_range_s {
|
typedef struct TRI_aql_range_s {
|
||||||
struct TRI_json_s* _value;
|
struct TRI_json_t* _value;
|
||||||
TRI_aql_range_e _type;
|
TRI_aql_range_e _type;
|
||||||
}
|
}
|
||||||
TRI_aql_range_t;
|
TRI_aql_range_t;
|
||||||
|
@ -111,7 +111,7 @@ typedef struct TRI_aql_field_access_s {
|
||||||
TRI_aql_access_e _type;
|
TRI_aql_access_e _type;
|
||||||
|
|
||||||
union {
|
union {
|
||||||
struct TRI_json_s* _value; // used for TRI_AQL_ACCESS_EXACT, TRI_AQL_ACCESS_LIST
|
struct TRI_json_t* _value; // used for TRI_AQL_ACCESS_EXACT, TRI_AQL_ACCESS_LIST
|
||||||
|
|
||||||
TRI_aql_range_t _singleRange; // used for TRI_AQL_ACCESS_RANGE_SINGLE
|
TRI_aql_range_t _singleRange; // used for TRI_AQL_ACCESS_RANGE_SINGLE
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-bind-parameter.h"
|
#include "Ahuacatl/ahuacatl-bind-parameter.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
#include "Ahuacatl/ahuacatl-conversions.h"
|
#include "Ahuacatl/ahuacatl-conversions.h"
|
||||||
|
|
|
@ -31,15 +31,15 @@
|
||||||
#define ARANGODB_AHUACATL_AHUACATL__BIND__PARAMETER_H 1
|
#define ARANGODB_AHUACATL_AHUACATL__BIND__PARAMETER_H 1
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
|
|
||||||
struct TRI_aql_context_s;
|
struct TRI_aql_context_s;
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- public types
|
// --SECTION-- public types
|
||||||
|
@ -51,7 +51,7 @@ struct TRI_json_s;
|
||||||
|
|
||||||
typedef struct TRI_aql_bind_parameter_s {
|
typedef struct TRI_aql_bind_parameter_s {
|
||||||
char* _name;
|
char* _name;
|
||||||
struct TRI_json_s* _value;
|
struct TRI_json_t* _value;
|
||||||
}
|
}
|
||||||
TRI_aql_bind_parameter_t;
|
TRI_aql_bind_parameter_t;
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ void TRI_FreeBindParametersAql (struct TRI_aql_context_s* const);
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
bool TRI_AddParameterValuesAql (struct TRI_aql_context_s* const,
|
bool TRI_AddParameterValuesAql (struct TRI_aql_context_s* const,
|
||||||
const struct TRI_json_s* const);
|
const struct TRI_json_t* const);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief validate bind parameters passed
|
/// @brief validate bind parameters passed
|
||||||
|
|
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-collections.h"
|
#include "Ahuacatl/ahuacatl-collections.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "VocBase/index.h"
|
#include "VocBase/index.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
|
|
|
@ -29,10 +29,10 @@
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
struct TRI_aql_node_t;
|
struct TRI_aql_node_t;
|
||||||
struct TRI_aql_parser_s;
|
struct TRI_aql_parser_s;
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
@ -96,7 +96,7 @@ typedef struct TRI_aql_context_s {
|
||||||
char* _writeCollection;
|
char* _writeCollection;
|
||||||
struct TRI_aql_node_t* _writeOptions;
|
struct TRI_aql_node_t* _writeOptions;
|
||||||
|
|
||||||
struct TRI_json_s* _userOptions;
|
struct TRI_json_t* _userOptions;
|
||||||
bool _fullCount;
|
bool _fullCount;
|
||||||
bool _isCoordinator;
|
bool _isCoordinator;
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ TRI_aql_context_t* TRI_CreateContextAql (struct TRI_vocbase_s*,
|
||||||
const char* const,
|
const char* const,
|
||||||
const size_t,
|
const size_t,
|
||||||
bool,
|
bool,
|
||||||
struct TRI_json_s*);
|
struct TRI_json_t*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief free a context
|
/// @brief free a context
|
||||||
|
@ -133,7 +133,7 @@ bool TRI_ValidateQueryContextAql (TRI_aql_context_t* const);
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
bool TRI_BindQueryContextAql (TRI_aql_context_t* const,
|
bool TRI_BindQueryContextAql (TRI_aql_context_t* const,
|
||||||
const struct TRI_json_s* const);
|
const struct TRI_json_t* const);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief perform some AST optimisations
|
/// @brief perform some AST optimisations
|
||||||
|
@ -186,7 +186,7 @@ void TRI_SetErrorContextAql (const char* file,
|
||||||
/// @brief get the value of an option variable
|
/// @brief get the value of an option variable
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* TRI_GetOptionContextAql (TRI_aql_context_t* const,
|
struct TRI_json_t* TRI_GetOptionContextAql (TRI_aql_context_t* const,
|
||||||
const char*);
|
const char*);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -29,11 +29,11 @@
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-conversions.h"
|
#include "Ahuacatl/ahuacatl-conversions.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
#include "Ahuacatl/ahuacatl-functions.h"
|
#include "Ahuacatl/ahuacatl-functions.h"
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct TRI_string_buffer_s;
|
||||||
/// @brief create a json struct from a value node
|
/// @brief create a json struct from a value node
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* TRI_NodeJsonAql (struct TRI_aql_context_s* const,
|
struct TRI_json_t* TRI_NodeJsonAql (struct TRI_aql_context_s* const,
|
||||||
const TRI_aql_node_t* const);
|
const TRI_aql_node_t* const);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -53,7 +53,7 @@ struct TRI_json_s* TRI_NodeJsonAql (struct TRI_aql_context_s* const,
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TRI_aql_node_t* TRI_JsonNodeAql (struct TRI_aql_context_s* const,
|
TRI_aql_node_t* TRI_JsonNodeAql (struct TRI_aql_context_s* const,
|
||||||
const struct TRI_json_s* const);
|
const struct TRI_json_t* const);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief convert a value node to its Javascript representation
|
/// @brief convert a value node to its Javascript representation
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-error.h"
|
#include "Ahuacatl/ahuacatl-error.h"
|
||||||
|
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- defines
|
// --SECTION-- defines
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-explain.h"
|
#include "Ahuacatl/ahuacatl-explain.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-collections.h"
|
#include "Ahuacatl/ahuacatl-collections.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
struct TRI_aql_context_s;
|
struct TRI_aql_context_s;
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- public types
|
// --SECTION-- public types
|
||||||
|
@ -43,7 +43,7 @@ typedef struct TRI_aql_explain_s {
|
||||||
struct TRI_aql_context_s* _context;
|
struct TRI_aql_context_s* _context;
|
||||||
size_t _count;
|
size_t _count;
|
||||||
size_t _level;
|
size_t _level;
|
||||||
struct TRI_json_s* _result;
|
struct TRI_json_t* _result;
|
||||||
}
|
}
|
||||||
TRI_aql_explain_t;
|
TRI_aql_explain_t;
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ TRI_aql_explain_t;
|
||||||
/// note: the caller of this function must free the returned json_t
|
/// note: the caller of this function must free the returned json_t
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* TRI_ExplainAql (struct TRI_aql_context_s* const);
|
struct TRI_json_t* TRI_ExplainAql (struct TRI_aql_context_s* const);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#include "Ahuacatl/ahuacatl-functions.h"
|
#include "Ahuacatl/ahuacatl-functions.h"
|
||||||
|
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
||||||
#include "Ahuacatl/ahuacatl-collections.h"
|
#include "Ahuacatl/ahuacatl-collections.h"
|
||||||
|
|
|
@ -77,8 +77,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <Basics/Common.h>
|
#include <Basics/Common.h>
|
||||||
#include <BasicsC/conversions.h>
|
#include <Basics/conversions.h>
|
||||||
#include <BasicsC/tri-strings.h>
|
#include <Basics/tri-strings.h>
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <Basics/Common.h>
|
#include <Basics/Common.h>
|
||||||
#include <BasicsC/conversions.h>
|
#include <Basics/conversions.h>
|
||||||
#include <BasicsC/tri-strings.h>
|
#include <Basics/tri-strings.h>
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-index.h"
|
#include "Ahuacatl/ahuacatl-index.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-optimiser.h"
|
#include "Ahuacatl/ahuacatl-optimiser.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
#include "Ahuacatl/ahuacatl-access-optimiser.h"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
#include "VocBase/general-cursor.h"
|
#include "VocBase/general-cursor.h"
|
||||||
|
|
||||||
|
|
|
@ -623,7 +623,7 @@ static yyconst flex_int32_t yy_rule_can_match_eol[79] =
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
@ -2285,7 +2285,7 @@ YY_BUFFER_STATE Ahuacatl_scan_bytes (yyconst char * yybytes, int _yybytes_len
|
||||||
if ( ! buf )
|
if ( ! buf )
|
||||||
YY_FATAL_ERROR( "out of dynamic memory in Ahuacatl_scan_bytes()" );
|
YY_FATAL_ERROR( "out of dynamic memory in Ahuacatl_scan_bytes()" );
|
||||||
|
|
||||||
for ( i = 0; i < _yybytes_len; ++i )
|
for ( i = 0; i < (int) _yybytes_len; ++i )
|
||||||
buf[i] = yybytes[i];
|
buf[i] = yybytes[i];
|
||||||
|
|
||||||
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
|
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
|
||||||
|
@ -2674,11 +2674,3 @@ void Ahuacatlfree (void * ptr , yyscan_t yyscanner)
|
||||||
|
|
||||||
#define YYTABLES_NAME "yytables"
|
#define YYTABLES_NAME "yytables"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
|
||||||
// --SECTION-- END-OF-FILE
|
|
||||||
// -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// Local Variables:
|
|
||||||
// mode: outline-minor
|
|
||||||
// outline-regexp: "/// @brief\\|/// {@inheritDoc}\\|/// @page\\|// --SECTION--\\|/// @\\}"
|
|
||||||
// End:
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
%{
|
%{
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
#define ARANGODB_AHUACATL_AHUACATL__VARIABLE_H 1
|
#define ARANGODB_AHUACATL_AHUACATL__VARIABLE_H 1
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "Aql/Ast.h"
|
#include "Aql/Ast.h"
|
||||||
#include "Aql/Collection.h"
|
#include "Aql/Collection.h"
|
||||||
#include "Aql/Executor.h"
|
#include "Aql/Executor.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
#include "VocBase/collection.h"
|
#include "VocBase/collection.h"
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "Aql/Scopes.h"
|
#include "Aql/Scopes.h"
|
||||||
#include "Aql/Variable.h"
|
#include "Aql/Variable.h"
|
||||||
#include "Aql/VariableGenerator.h"
|
#include "Aql/VariableGenerator.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#define ARANGODB_AQL_ASTNODE_H 1
|
#define ARANGODB_AQL_ASTNODE_H 1
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "Aql/BindParameters.h"
|
#include "Aql/BindParameters.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
|
|
||||||
using namespace triagens::aql;
|
using namespace triagens::aql;
|
||||||
|
|
|
@ -31,14 +31,12 @@
|
||||||
#define ARANGODB_AQL_QUERY_BIND_PARAMETERS_H 1
|
#define ARANGODB_AQL_QUERY_BIND_PARAMETERS_H 1
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace aql {
|
namespace aql {
|
||||||
|
|
||||||
typedef std::unordered_map<std::string, std::pair<struct TRI_json_s const*, bool>> BindParametersType;
|
typedef std::unordered_map<std::string, std::pair<TRI_json_t const*, bool>> BindParametersType;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- class BindParameters
|
// --SECTION-- class BindParameters
|
||||||
|
@ -101,7 +99,7 @@ namespace triagens {
|
||||||
/// @brief the parameter json
|
/// @brief the parameter json
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* _json;
|
TRI_json_t* _json;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief pointer to collection parameters
|
/// @brief pointer to collection parameters
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include "Aql/ExecutionNode.h"
|
#include "Aql/ExecutionNode.h"
|
||||||
#include "Aql/ModificationOptions.h"
|
#include "Aql/ModificationOptions.h"
|
||||||
#include "Aql/Query.h"
|
#include "Aql/Query.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace aql {
|
namespace aql {
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "Aql/Variable.h"
|
#include "Aql/Variable.h"
|
||||||
#include "V8/v8-globals.h"
|
#include "V8/v8-globals.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace basics {
|
namespace basics {
|
||||||
|
@ -87,7 +87,7 @@ namespace triagens {
|
||||||
/// @brief executes an expression directly
|
/// @brief executes an expression directly
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* executeExpression (AstNode const*);
|
struct TRI_json_t* executeExpression (AstNode const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief returns a reference to a built-in function
|
/// @brief returns a reference to a built-in function
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "Aql/Variable.h"
|
#include "Aql/Variable.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Basics/StringBuffer.h"
|
#include "Basics/StringBuffer.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "ShapedJson/shaped-json.h"
|
#include "ShapedJson/shaped-json.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Utils/AqlTransaction.h"
|
#include "Utils/AqlTransaction.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace basics {
|
namespace basics {
|
||||||
|
@ -257,7 +257,7 @@ namespace triagens {
|
||||||
union {
|
union {
|
||||||
V8Expression* _func;
|
V8Expression* _func;
|
||||||
|
|
||||||
struct TRI_json_s* _data;
|
struct TRI_json_t* _data;
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
#include "Aql/ExecutionEngine.h"
|
#include "Aql/ExecutionEngine.h"
|
||||||
#include "Aql/Optimizer.h"
|
#include "Aql/Optimizer.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Utils/AqlTransaction.h"
|
#include "Utils/AqlTransaction.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
#include "Utils/V8TransactionContext.h"
|
#include "Utils/V8TransactionContext.h"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "Utils/AqlTransaction.h"
|
#include "Utils/AqlTransaction.h"
|
||||||
#include "Utils/V8TransactionContext.h"
|
#include "Utils/V8TransactionContext.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
|
@ -85,13 +85,13 @@ namespace triagens {
|
||||||
Query (struct TRI_vocbase_s*,
|
Query (struct TRI_vocbase_s*,
|
||||||
char const*,
|
char const*,
|
||||||
size_t,
|
size_t,
|
||||||
struct TRI_json_s*,
|
struct TRI_json_t*,
|
||||||
struct TRI_json_s*);
|
struct TRI_json_t*);
|
||||||
|
|
||||||
Query (struct TRI_vocbase_s*,
|
Query (struct TRI_vocbase_s*,
|
||||||
triagens::basics::Json queryStruct,
|
triagens::basics::Json queryStruct,
|
||||||
QueryType Type,
|
QueryType Type,
|
||||||
struct TRI_json_s*);
|
struct TRI_json_t*);
|
||||||
|
|
||||||
~Query ();
|
~Query ();
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#define ARANGODB_AQL_QUERY_RESULT_H 1
|
#define ARANGODB_AQL_QUERY_RESULT_H 1
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace aql {
|
namespace aql {
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "Aql/V8Expression.h"
|
#include "Aql/V8Expression.h"
|
||||||
#include "Aql/Executor.h"
|
#include "Aql/Executor.h"
|
||||||
#include "Aql/Variable.h"
|
#include "Aql/Variable.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
|
|
||||||
using namespace triagens::aql;
|
using namespace triagens::aql;
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <Basics/Common.h>
|
#include <Basics/Common.h>
|
||||||
#include <BasicsC/conversions.h>
|
#include <Basics/conversions.h>
|
||||||
#include <BasicsC/tri-strings.h>
|
#include <Basics/tri-strings.h>
|
||||||
|
|
||||||
#include "Aql/AstNode.h"
|
#include "Aql/AstNode.h"
|
||||||
#include "Aql/Parser.h"
|
#include "Aql/Parser.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "BasicsC/associative.h"
|
#include "BasicsC/associative.h"
|
||||||
#include "BasicsC/common.h"
|
#include "BasicsC/common.h"
|
||||||
#include "BasicsC/hashes.h"
|
#include "Basics/hashes.h"
|
||||||
#include "BasicsC/locks.h"
|
#include "BasicsC/locks.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "cap-constraint.h"
|
#include "cap-constraint.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Utils/Exception.h"
|
#include "Utils/Exception.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "Basics/StringBuffer.h"
|
#include "Basics/StringBuffer.h"
|
||||||
#include "Basics/WriteLocker.h"
|
#include "Basics/WriteLocker.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "Cluster/ServerState.h"
|
#include "Cluster/ServerState.h"
|
||||||
#include "Rest/Endpoint.h"
|
#include "Rest/Endpoint.h"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
#include "Basics/ReadWriteLock.h"
|
#include "Basics/ReadWriteLock.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
|
|
|
@ -30,10 +30,10 @@
|
||||||
|
|
||||||
#include "Cluster/ClusterInfo.h"
|
#include "Cluster/ClusterInfo.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
#include "VocBase/voc-types.h"
|
#include "VocBase/voc-types.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_memory_zone_s;
|
struct TRI_memory_zone_s;
|
||||||
struct TRI_server_s;
|
struct TRI_server_s;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ namespace triagens {
|
||||||
|
|
||||||
CollectionInfo ();
|
CollectionInfo ();
|
||||||
|
|
||||||
CollectionInfo (struct TRI_json_s*);
|
CollectionInfo (struct TRI_json_t*);
|
||||||
|
|
||||||
CollectionInfo (CollectionInfo const&);
|
CollectionInfo (CollectionInfo const&);
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ namespace triagens {
|
||||||
|
|
||||||
CollectionInfoCurrent ();
|
CollectionInfoCurrent ();
|
||||||
|
|
||||||
CollectionInfoCurrent (ShardID const&, struct TRI_json_s*);
|
CollectionInfoCurrent (ShardID const&, struct TRI_json_t*);
|
||||||
|
|
||||||
CollectionInfoCurrent (CollectionInfoCurrent const&);
|
CollectionInfoCurrent (CollectionInfoCurrent const&);
|
||||||
|
|
||||||
|
@ -1043,9 +1043,9 @@ namespace triagens {
|
||||||
_uniqid;
|
_uniqid;
|
||||||
|
|
||||||
// Cached data from the agency, we reload whenever necessary:
|
// Cached data from the agency, we reload whenever necessary:
|
||||||
std::map<DatabaseID, struct TRI_json_s*> _plannedDatabases;
|
std::map<DatabaseID, struct TRI_json_t*> _plannedDatabases;
|
||||||
// from Plan/Databases
|
// from Plan/Databases
|
||||||
std::map<DatabaseID, std::map<ServerID, struct TRI_json_s*> >
|
std::map<DatabaseID, std::map<ServerID, struct TRI_json_t*> >
|
||||||
_currentDatabases; // from Current/Databases
|
_currentDatabases; // from Current/Databases
|
||||||
|
|
||||||
AllCollections _collections;
|
AllCollections _collections;
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#include "Cluster/ClusterInfo.h"
|
#include "Cluster/ClusterInfo.h"
|
||||||
#include "Cluster/ClusterComm.h"
|
#include "Cluster/ClusterComm.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/vector.h"
|
#include "BasicsC/vector.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "Cluster/ServerState.h"
|
#include "Cluster/ServerState.h"
|
||||||
#include "Cluster/ClusterComm.h"
|
#include "Cluster/ClusterComm.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_vector_pointer_s;
|
struct TRI_vector_pointer_s;
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
|
@ -70,8 +70,8 @@ namespace triagens {
|
||||||
|
|
||||||
bool shardKeysChanged (std::string const& dbname,
|
bool shardKeysChanged (std::string const& dbname,
|
||||||
std::string const& collname,
|
std::string const& collname,
|
||||||
struct TRI_json_s const* oldJson,
|
struct TRI_json_t const* oldJson,
|
||||||
struct TRI_json_s const* newJson,
|
struct TRI_json_t const* newJson,
|
||||||
bool isPatch);
|
bool isPatch);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -79,7 +79,7 @@ namespace triagens {
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int usersOnCoordinator (std::string const& dbname,
|
int usersOnCoordinator (std::string const& dbname,
|
||||||
struct TRI_json_s*& result);
|
struct TRI_json_t*& result);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief returns revision for a sharded collection
|
/// @brief returns revision for a sharded collection
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "fulltext-query.h"
|
#include "fulltext-query.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "BasicsC/utf8-helper.h"
|
#include "BasicsC/utf8-helper.h"
|
||||||
|
|
||||||
#include "fulltext-index.h"
|
#include "fulltext-index.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "geo-index.h"
|
#include "geo-index.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
#include "VocBase/voc-shaper.h"
|
#include "VocBase/voc-shaper.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "ShapedJson/json-shaper.h"
|
#include "ShapedJson/json-shaper.h"
|
||||||
#include "ShapedJson/shaped-json.h"
|
#include "ShapedJson/shaped-json.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "ContinuousSyncer.h"
|
#include "ContinuousSyncer.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Basics/StringBuffer.h"
|
#include "Basics/StringBuffer.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
// --SECTION-- forward declarations
|
// --SECTION-- forward declarations
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_server_s;
|
struct TRI_server_s;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
|
@ -120,45 +120,45 @@ namespace triagens {
|
||||||
/// @brief starts a transaction, based on the JSON provided
|
/// @brief starts a transaction, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int startTransaction (struct TRI_json_s const*);
|
int startTransaction (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief aborts a transaction, based on the JSON provided
|
/// @brief aborts a transaction, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int abortTransaction (struct TRI_json_s const*);
|
int abortTransaction (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief commits a transaction, based on the JSON provided
|
/// @brief commits a transaction, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int commitTransaction (struct TRI_json_s const*);
|
int commitTransaction (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief process a document operation, based on the JSON provided
|
/// @brief process a document operation, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int processDocument (TRI_replication_operation_e,
|
int processDocument (TRI_replication_operation_e,
|
||||||
struct TRI_json_s const*,
|
struct TRI_json_t const*,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief renames a collection, based on the JSON provided
|
/// @brief renames a collection, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int renameCollection (struct TRI_json_s const*);
|
int renameCollection (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief changes the properties of a collection, based on the JSON provided
|
/// @brief changes the properties of a collection, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int changeCollection (struct TRI_json_s const*);
|
int changeCollection (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief apply a single marker from the continuous log
|
/// @brief apply a single marker from the continuous log
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int applyLogMarker (struct TRI_json_s const*,
|
int applyLogMarker (struct TRI_json_t const*,
|
||||||
bool&,
|
bool&,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
#include "InitialSyncer.h"
|
#include "InitialSyncer.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "SimpleHttpClient/SimpleHttpClient.h"
|
#include "SimpleHttpClient/SimpleHttpClient.h"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
// --SECTION-- forward declarations
|
// --SECTION-- forward declarations
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_replication_applier_configuration_s;
|
struct TRI_replication_applier_configuration_s;
|
||||||
struct TRI_transaction_collection_s;
|
struct TRI_transaction_collection_s;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
@ -185,8 +185,8 @@ namespace triagens {
|
||||||
/// @brief handle the information about a collection
|
/// @brief handle the information about a collection
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int handleCollection (struct TRI_json_s const*,
|
int handleCollection (struct TRI_json_t const*,
|
||||||
struct TRI_json_s const*,
|
struct TRI_json_t const*,
|
||||||
std::string&,
|
std::string&,
|
||||||
sync_phase_e);
|
sync_phase_e);
|
||||||
|
|
||||||
|
@ -194,14 +194,14 @@ namespace triagens {
|
||||||
/// @brief handle the inventory response of the master
|
/// @brief handle the inventory response of the master
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int handleInventoryResponse (struct TRI_json_s const*,
|
int handleInventoryResponse (struct TRI_json_t const*,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief iterate over all collections from a list and apply an action
|
/// @brief iterate over all collections from a list and apply an action
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int iterateCollections (struct TRI_json_s const*,
|
int iterateCollections (struct TRI_json_t const*,
|
||||||
std::string&,
|
std::string&,
|
||||||
sync_phase_e);
|
sync_phase_e);
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
#include "Syncer.h"
|
#include "Syncer.h"
|
||||||
|
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
#include "SimpleHttpClient/GeneralClientConnection.h"
|
#include "SimpleHttpClient/GeneralClientConnection.h"
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
// --SECTION-- forward declarations
|
// --SECTION-- forward declarations
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_replication_applier_configuration_s;
|
struct TRI_replication_applier_configuration_s;
|
||||||
struct TRI_transaction_collection_s;
|
struct TRI_transaction_collection_s;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
@ -107,7 +107,7 @@ namespace triagens {
|
||||||
/// @brief extract the collection id from JSON
|
/// @brief extract the collection id from JSON
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TRI_voc_cid_t getCid (struct TRI_json_s const*) const;
|
TRI_voc_cid_t getCid (struct TRI_json_t const*) const;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief apply a single marker from the collection dump
|
/// @brief apply a single marker from the collection dump
|
||||||
|
@ -117,34 +117,34 @@ namespace triagens {
|
||||||
TRI_replication_operation_e,
|
TRI_replication_operation_e,
|
||||||
const TRI_voc_key_t,
|
const TRI_voc_key_t,
|
||||||
const TRI_voc_rid_t,
|
const TRI_voc_rid_t,
|
||||||
struct TRI_json_s const*,
|
struct TRI_json_t const*,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief creates a collection, based on the JSON provided
|
/// @brief creates a collection, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int createCollection (struct TRI_json_s const*,
|
int createCollection (struct TRI_json_t const*,
|
||||||
struct TRI_vocbase_col_s**);
|
struct TRI_vocbase_col_s**);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief drops a collection, based on the JSON provided
|
/// @brief drops a collection, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int dropCollection (struct TRI_json_s const*,
|
int dropCollection (struct TRI_json_t const*,
|
||||||
bool);
|
bool);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief creates an index, based on the JSON provided
|
/// @brief creates an index, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int createIndex (struct TRI_json_s const*);
|
int createIndex (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief drops an index, based on the JSON provided
|
/// @brief drops an index, based on the JSON provided
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int dropIndex (struct TRI_json_s const*);
|
int dropIndex (struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief get master state
|
/// @brief get master state
|
||||||
|
@ -156,7 +156,7 @@ namespace triagens {
|
||||||
/// @brief handle the state response of the master
|
/// @brief handle the state response of the master
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int handleStateResponse (struct TRI_json_s const*,
|
int handleStateResponse (struct TRI_json_t const*,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
#include "RestDocumentHandler.h"
|
#include "RestDocumentHandler.h"
|
||||||
|
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
#include "RestEdgeHandler.h"
|
#include "RestEdgeHandler.h"
|
||||||
|
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Cluster/ServerState.h"
|
#include "Cluster/ServerState.h"
|
||||||
#include "Cluster/ClusterInfo.h"
|
#include "Cluster/ClusterInfo.h"
|
||||||
#include "Cluster/ClusterMethods.h"
|
#include "Cluster/ClusterMethods.h"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
#include "VocBase/edge-collection.h"
|
#include "VocBase/edge-collection.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "RestReplicationHandler.h"
|
#include "RestReplicationHandler.h"
|
||||||
|
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "HttpServer/HttpServer.h"
|
#include "HttpServer/HttpServer.h"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "VocBase/edge-collection.h"
|
#include "VocBase/edge-collection.h"
|
||||||
#include "VocBase/replication-common.h"
|
#include "VocBase/replication-common.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_replication_log_state_s;
|
struct TRI_replication_log_state_s;
|
||||||
struct TRI_transaction_collection_s;
|
struct TRI_transaction_collection_s;
|
||||||
struct TRI_vocbase_col_s;
|
struct TRI_vocbase_col_s;
|
||||||
|
@ -195,13 +195,13 @@ namespace triagens {
|
||||||
/// @brief extract the collection id from JSON TODO: move
|
/// @brief extract the collection id from JSON TODO: move
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
TRI_voc_cid_t getCid (struct TRI_json_s const*) const;
|
TRI_voc_cid_t getCid (struct TRI_json_t const*) const;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief creates a collection, based on the JSON provided TODO: move
|
/// @brief creates a collection, based on the JSON provided TODO: move
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int createCollection (struct TRI_json_s const*,
|
int createCollection (struct TRI_json_t const*,
|
||||||
struct TRI_vocbase_col_s**,
|
struct TRI_vocbase_col_s**,
|
||||||
bool);
|
bool);
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ namespace triagens {
|
||||||
/// @brief restores the structure of a collection TODO MOVE
|
/// @brief restores the structure of a collection TODO MOVE
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int processRestoreCollection (struct TRI_json_s const*,
|
int processRestoreCollection (struct TRI_json_t const*,
|
||||||
bool,
|
bool,
|
||||||
bool,
|
bool,
|
||||||
bool,
|
bool,
|
||||||
|
@ -231,7 +231,7 @@ namespace triagens {
|
||||||
/// @brief restores the structure of a collection, coordinator case
|
/// @brief restores the structure of a collection, coordinator case
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int processRestoreCollectionCoordinator (struct TRI_json_s const*,
|
int processRestoreCollectionCoordinator (struct TRI_json_t const*,
|
||||||
bool,
|
bool,
|
||||||
bool,
|
bool,
|
||||||
bool,
|
bool,
|
||||||
|
@ -241,7 +241,7 @@ namespace triagens {
|
||||||
/// @brief restores the indexes of a collection TODO MOVE
|
/// @brief restores the indexes of a collection TODO MOVE
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int processRestoreIndexes (struct TRI_json_s const*,
|
int processRestoreIndexes (struct TRI_json_t const*,
|
||||||
bool,
|
bool,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ namespace triagens {
|
||||||
/// @brief restores the indexes of a collection, coordinator case
|
/// @brief restores the indexes of a collection, coordinator case
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
int processRestoreIndexesCoordinator (struct TRI_json_s const*,
|
int processRestoreIndexesCoordinator (struct TRI_json_t const*,
|
||||||
bool,
|
bool,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
|
@ -262,7 +262,7 @@ namespace triagens {
|
||||||
TRI_replication_operation_e,
|
TRI_replication_operation_e,
|
||||||
const TRI_voc_key_t,
|
const TRI_voc_key_t,
|
||||||
const TRI_voc_rid_t,
|
const TRI_voc_rid_t,
|
||||||
struct TRI_json_s const*,
|
struct TRI_json_t const*,
|
||||||
std::string&);
|
std::string&);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
|
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/string-buffer.h"
|
#include "BasicsC/string-buffer.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
#include "ShapedJson/shaped-json.h"
|
#include "ShapedJson/shaped-json.h"
|
||||||
#include "Utils/DocumentHelper.h"
|
#include "Utils/DocumentHelper.h"
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
#include "Admin/RestBaseHandler.h"
|
#include "Admin/RestBaseHandler.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@
|
||||||
// --SECTION-- forward declarations
|
// --SECTION-- forward declarations
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
struct TRI_json_s;
|
|
||||||
struct TRI_document_collection_t;
|
struct TRI_document_collection_t;
|
||||||
struct TRI_vocbase_col_s;
|
struct TRI_vocbase_col_s;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
@ -343,7 +342,7 @@ namespace triagens {
|
||||||
/// @brief parses the body
|
/// @brief parses the body
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* parseJsonBody ();
|
TRI_json_t* parseJsonBody ();
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief extract a string attribute from a JSON array
|
/// @brief extract a string attribute from a JSON array
|
||||||
|
|
|
@ -45,8 +45,8 @@
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "Basics/init.h"
|
#include "Basics/init.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/messages.h"
|
#include "Basics/messages.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Dispatcher/ApplicationDispatcher.h"
|
#include "Dispatcher/ApplicationDispatcher.h"
|
||||||
#include "Dispatcher/Dispatcher.h"
|
#include "Dispatcher/Dispatcher.h"
|
||||||
#include "HttpServer/ApplicationEndpointServer.h"
|
#include "HttpServer/ApplicationEndpointServer.h"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include "ApplicationServer/ApplicationServer.h"
|
#include "ApplicationServer/ApplicationServer.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Rest/Version.h"
|
#include "Rest/Version.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
#include "V8/V8LineEditor.h"
|
#include "V8/V8LineEditor.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "VocbaseContext.h"
|
#include "VocbaseContext.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Cluster/ServerState.h"
|
#include "Cluster/ServerState.h"
|
||||||
#include "Rest/ConnectionInfo.h"
|
#include "Rest/ConnectionInfo.h"
|
||||||
#include "VocBase/auth.h"
|
#include "VocBase/auth.h"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "BasicsC/messages.h"
|
#include "Basics/messages.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Rest/InitialiseRest.h"
|
#include "Rest/InitialiseRest.h"
|
||||||
#include "RestServer/ArangoServer.h"
|
#include "RestServer/ArangoServer.h"
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "Ahuacatl/ahuacatl-context.h"
|
#include "Ahuacatl/ahuacatl-context.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
#include "Cluster/ServerState.h"
|
#include "Cluster/ServerState.h"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "DocumentHelper.h"
|
#include "DocumentHelper.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include "Utils/CollectionNameResolver.h"
|
#include "Utils/CollectionNameResolver.h"
|
||||||
#include "VocBase/voc-types.h"
|
#include "VocBase/voc-types.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
namespace triagens {
|
namespace triagens {
|
||||||
namespace arango {
|
namespace arango {
|
||||||
|
@ -88,7 +88,7 @@ namespace triagens {
|
||||||
/// @brief extract the "_key" attribute from a JSON object
|
/// @brief extract the "_key" attribute from a JSON object
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
static int getKey (struct TRI_json_s const*,
|
static int getKey (struct TRI_json_t const*,
|
||||||
TRI_voc_key_t*);
|
TRI_voc_key_t*);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/random.h"
|
#include "BasicsC/random.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
|
|
||||||
#include "Utils/CollectionNameResolver.h"
|
#include "Utils/CollectionNameResolver.h"
|
||||||
#include "Utils/DocumentHelper.h"
|
#include "Utils/DocumentHelper.h"
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "Basics/Thread.h"
|
#include "Basics/Thread.h"
|
||||||
#include "Basics/WriteLocker.h"
|
#include "Basics/WriteLocker.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Dispatcher/ApplicationDispatcher.h"
|
#include "Dispatcher/ApplicationDispatcher.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
#include "Scheduler/ApplicationScheduler.h"
|
#include "Scheduler/ApplicationScheduler.h"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "V8Job.h"
|
#include "V8Job.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "V8/v8-utils.h"
|
#include "V8/v8-utils.h"
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "Basics/Common.h"
|
#include "Basics/Common.h"
|
||||||
|
|
||||||
#include "Dispatcher/Job.h"
|
#include "Dispatcher/Job.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "V8PeriodicTask.h"
|
#include "V8PeriodicTask.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Dispatcher/Dispatcher.h"
|
#include "Dispatcher/Dispatcher.h"
|
||||||
#include "Scheduler/Scheduler.h"
|
#include "Scheduler/Scheduler.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- class V8PeriodicTask
|
// --SECTION-- class V8PeriodicTask
|
||||||
|
@ -71,7 +71,7 @@ namespace triagens {
|
||||||
double,
|
double,
|
||||||
double,
|
double,
|
||||||
std::string const&,
|
std::string const&,
|
||||||
struct TRI_json_s*);
|
struct TRI_json_t*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief destructor
|
/// @brief destructor
|
||||||
|
@ -89,7 +89,7 @@ namespace triagens {
|
||||||
/// @brief get a task specific description in JSON format
|
/// @brief get a task specific description in JSON format
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
virtual void getDescription (struct TRI_json_s*);
|
virtual void getDescription (struct TRI_json_t*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief whether or not the task is user-defined
|
/// @brief whether or not the task is user-defined
|
||||||
|
@ -145,7 +145,7 @@ namespace triagens {
|
||||||
/// @brief paramaters
|
/// @brief paramaters
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* _parameters;
|
struct TRI_json_t* _parameters;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief creation timestamp
|
/// @brief creation timestamp
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "V8QueueJob.h"
|
#include "V8QueueJob.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "V8/v8-utils.h"
|
#include "V8/v8-utils.h"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#define ARANGODB_V8SERVER_V8_QUEUE_JOB_H 1
|
#define ARANGODB_V8SERVER_V8_QUEUE_JOB_H 1
|
||||||
|
|
||||||
#include "Dispatcher/Job.h"
|
#include "Dispatcher/Job.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
|
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
#include "V8TimerTask.h"
|
#include "V8TimerTask.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "Dispatcher/Dispatcher.h"
|
#include "Dispatcher/Dispatcher.h"
|
||||||
#include "Scheduler/Scheduler.h"
|
#include "Scheduler/Scheduler.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
#include "VocBase/vocbase.h"
|
#include "VocBase/vocbase.h"
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// --SECTION-- class V8TimerTask
|
// --SECTION-- class V8TimerTask
|
||||||
|
@ -70,7 +70,7 @@ namespace triagens {
|
||||||
rest::Dispatcher*,
|
rest::Dispatcher*,
|
||||||
double,
|
double,
|
||||||
std::string const&,
|
std::string const&,
|
||||||
struct TRI_json_s*);
|
struct TRI_json_t*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief destructor
|
/// @brief destructor
|
||||||
|
@ -88,7 +88,7 @@ namespace triagens {
|
||||||
/// @brief get a task specific description in JSON format
|
/// @brief get a task specific description in JSON format
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
virtual void getDescription (struct TRI_json_s*);
|
virtual void getDescription (struct TRI_json_t*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief whether or not the task is user-defined
|
/// @brief whether or not the task is user-defined
|
||||||
|
@ -144,7 +144,7 @@ namespace triagens {
|
||||||
/// @brief paramaters
|
/// @brief paramaters
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
struct TRI_json_s* _parameters;
|
struct TRI_json_t* _parameters;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief creation timestamp
|
/// @brief creation timestamp
|
||||||
|
|
|
@ -34,11 +34,11 @@
|
||||||
#include "Basics/ReadLocker.h"
|
#include "Basics/ReadLocker.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "Basics/WriteLocker.h"
|
#include "Basics/WriteLocker.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Rest/HttpRequest.h"
|
#include "Rest/HttpRequest.h"
|
||||||
#include "Rest/HttpResponse.h"
|
#include "Rest/HttpResponse.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "v8-collection.h"
|
#include "v8-collection.h"
|
||||||
#include "v8-vocbaseprivate.h"
|
#include "v8-vocbaseprivate.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-explain.h"
|
#include "Ahuacatl/ahuacatl-explain.h"
|
||||||
|
|
||||||
#include "Basics/Utf8Helper.h"
|
#include "Basics/Utf8Helper.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
|
@ -54,7 +54,6 @@
|
||||||
#include "unicode/timezone.h"
|
#include "unicode/timezone.h"
|
||||||
|
|
||||||
#include "v8-vocbase.h"
|
#include "v8-vocbase.h"
|
||||||
#include "v8-vocbaseprivate.h"
|
|
||||||
#include "v8-vocindex.h"
|
#include "v8-vocindex.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "v8-dispatcher.h"
|
#include "v8-dispatcher.h"
|
||||||
|
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/StringUtils.h"
|
#include "Basics/StringUtils.h"
|
||||||
#include "Dispatcher/ApplicationDispatcher.h"
|
#include "Dispatcher/ApplicationDispatcher.h"
|
||||||
#include "Dispatcher/Dispatcher.h"
|
#include "Dispatcher/Dispatcher.h"
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "v8-vocbaseprivate.h"
|
#include "v8-vocbaseprivate.h"
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "BasicsC/conversions.h"
|
|
||||||
#include "VocBase/key-generator.h"
|
#include "VocBase/key-generator.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "Utils/DocumentHelper.h"
|
#include "Utils/DocumentHelper.h"
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
#include "Aql/Query.h"
|
#include "Aql/Query.h"
|
||||||
#include "Basics/Utf8Helper.h"
|
#include "Basics/Utf8Helper.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "Basics/json-utilities.h"
|
#include "Basics/json-utilities.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
#include "Utils/AhuacatlGuard.h"
|
#include "Utils/AhuacatlGuard.h"
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#include "Ahuacatl/ahuacatl-result.h"
|
#include "Ahuacatl/ahuacatl-result.h"
|
||||||
#include "Utils/AhuacatlTransaction.h"
|
#include "Utils/AhuacatlTransaction.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "v8-vocbaseprivate.h"
|
#include "v8-vocbaseprivate.h"
|
||||||
#include "v8-collection.h"
|
#include "v8-collection.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
#include "Utils/V8TransactionContext.h"
|
#include "Utils/V8TransactionContext.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "v8-wrapshapedjson.h"
|
#include "v8-wrapshapedjson.h"
|
||||||
#include "v8-vocbaseprivate.h"
|
#include "v8-vocbaseprivate.h"
|
||||||
|
|
||||||
#include "BasicsC/conversions.h"
|
#include "Basics/conversions.h"
|
||||||
#include "V8/v8-conv.h"
|
#include "V8/v8-conv.h"
|
||||||
#include "VocBase/key-generator.h"
|
#include "VocBase/key-generator.h"
|
||||||
#include "Utils/transactions.h"
|
#include "Utils/transactions.h"
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
|
|
||||||
#include "BasicsC/json.h"
|
#include "Basics/json.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "Basics/JsonHelper.h"
|
#include "Basics/JsonHelper.h"
|
||||||
#include "Rest/SslInterface.h"
|
#include "Rest/SslInterface.h"
|
||||||
#include "ShapedJson/shape-accessor.h"
|
#include "ShapedJson/shape-accessor.h"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
// --SECTION-- forward declarations
|
// --SECTION-- forward declarations
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
struct TRI_json_s;
|
struct TRI_json_t;
|
||||||
struct TRI_vocbase_s;
|
struct TRI_vocbase_s;
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
@ -101,7 +101,7 @@ bool TRI_LoadAuthInfo (struct TRI_vocbase_s*);
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
bool TRI_PopulateAuthInfo (struct TRI_vocbase_s*,
|
bool TRI_PopulateAuthInfo (struct TRI_vocbase_s*,
|
||||||
struct TRI_json_s const*);
|
struct TRI_json_t const*);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief reload the authentication info
|
/// @brief reload the authentication info
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include "BasicsC/files.h"
|
#include "BasicsC/files.h"
|
||||||
#include "BasicsC/logging.h"
|
#include "BasicsC/logging.h"
|
||||||
#include "BasicsC/tri-strings.h"
|
#include "Basics/tri-strings.h"
|
||||||
#include "VocBase/barrier.h"
|
#include "VocBase/barrier.h"
|
||||||
#include "VocBase/compactor.h"
|
#include "VocBase/compactor.h"
|
||||||
#include "VocBase/document-collection.h"
|
#include "VocBase/document-collection.h"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue