Skip to content

Commit 98c9577

Browse files
author
Jose Rafael Camejo
committed
port for mac
1 parent d957e57 commit 98c9577

57 files changed

Lines changed: 229 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15
#define CWEB_HYDRATION_DEFAULT_BODY_SIZE 5000
26
#define CWEB_HYDRATION_CALBACK_HANDLER_ROUTE "/private_cweb_hydration_main_callback_handler"

src/config/hydratation/macros.callbacks.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15
#define PRIVATE_CWEB_HYDRATION_CALLBACK_KEY "callback"
26
#define PRIVATE_CWEB_HYDRATION_ARGS_KEY "args"
37
#define PRIVATE_CWEB_HYDRATION_ID_KEY "id"

src/config/hydratation/macros.errors.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15
#define CWEB_HYDRATION_NOT_BODY_JSON_PROVIDED 1
26
#define CWEB_HYDRATION_NOT_BODY_JSON_PROVIDED_MSG "json body not provided"
37

src/config/hydratation/macros.keys.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15

26

37

src/config/macros.request.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15
#define INVALID_HTTP -1
26
#define MAX_HEADER_SIZE_CODE -2
37
#define MAX_HEADER_LEN 20000

src/config/macros.response.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../imports/imports.dep_declare.h"
4+
//silver_chain_scope_end
15

26
#define CWEB_AUTO_SET_CONTENT NULL
37
#define CWEB_OK 200

src/dict/fdefine.dict.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../imports/imports.dep_define.h"
4+
//silver_chain_scope_end
15
CwebDict *newCwebDict(){
26
CwebDict *self = (CwebDict *)malloc(sizeof(struct CwebDict));
37
self->keys_vals = (CwebKeyVal**)malloc(1);

src/dict/typesB.dict.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "../imports/imports.types.h"
4+
//silver_chain_scope_end
15

26
typedef struct CwebDict {
37
int size;

src/fdefine.cors.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "imports/imports.dep_define.h"
4+
//silver_chain_scope_end
15

26

37
void private_cweb_generate_cors_response(struct CwebHttpResponse *response) {

src/fdefine.extras.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//silver_chain_scope_start
2+
//mannaged by silver chain: https://github.com/OUIsolutions/SilverChain
3+
#include "imports/imports.dep_define.h"
4+
//silver_chain_scope_end
15

26

37

0 commit comments

Comments
 (0)