v0.7.8 - Fully static builds implemented with musl-gcc

This commit is contained in:
Your Name
2025-10-11 10:51:03 -04:00
parent d449513861
commit ecd7095123
23 changed files with 3801 additions and 89 deletions

View File

@@ -9,6 +9,7 @@
#include <stdint.h>
#include "../nostr_core_lib/cjson/cJSON.h"
#include "config.h" // For CLIENT_IP_MAX_LENGTH
#include "websockets.h" // For validation constants
// Forward declaration for libwebsockets struct
struct lws;
@@ -18,6 +19,13 @@ struct lws;
#define MAX_FILTERS_PER_SUBSCRIPTION 10
#define MAX_TOTAL_SUBSCRIPTIONS 5000
// Validation limits (shared with websockets.h)
#define MAX_SEARCH_TERM_LENGTH 256
#define MIN_TIMESTAMP 0L
#define MAX_TIMESTAMP 4102444800L // 2100-01-01
#define MIN_LIMIT 1
#define MAX_LIMIT 10000
// Forward declarations for typedefs
typedef struct subscription_filter subscription_filter_t;
typedef struct subscription subscription_t;