mirror of https://github.com/dnomd343/ClearDNS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
343 B
17 lines
343 B
#pragma once
|
|
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
/**
|
|
* Free the exported c-style string.
|
|
*/
|
|
void free_rust_string(const char *ptr);
|
|
|
|
/**
|
|
* Format the input text into JSON format and return a c-style string, or return
|
|
* `NULL` if an error occurs.
|
|
*/
|
|
const char *to_json(const char *content);
|
|
|