💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Vgmi › files › 515a23f093afca4a78ddcfb6ddc70… captured on 2024-02-05 at 09:58:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

-=-=-=-=-=-=-

Go Back

0 /*

1 * ISC License

2 * Copyright (c) 2023 RMF <rawmonk@firemail.cc>

3 */

4 #include "memcheck.h"

5 #define ASSERT(X) switch(0){case 0:case (X):;}

6 #define STRLCPY(X, Y) strlcpy((X), (Y), sizeof(X))

7 #define UTF8CPY(X, Y) utf8_cpy((X), (Y), sizeof(X))

8 #define STRCMP(X, Y) strncmp((X), (Y), sizeof(X))

9 #define V(X) (X), sizeof(X)

10 #define P(X) (&X), sizeof(X)

11 #define AZ(X) ((X) ? (X) : 1)

12 #define MAX_URL 1024

13 #define MAX_HOST 1024

14 #define LENGTH(X) (sizeof(X) / sizeof(*X))

15 #ifndef PATH_MAX

16 #define PATH_MAX 1024

17 #endif

18 #ifndef NO_SANDBOX

19 #ifdef __linux__

20 #define STATIC_ALLOC

21 #endif

22 #endif

23