Skip to content
Authors

File prod_janet.h

File List > prod_janet > src > prod_janet.h

Go to the documentation of this file

#ifndef PROD_JANET_H
#define PROD_JANET_H

/*************************************************************************************************/
/*************************** Includes ************************************************************/
/*************************************************************************************************/
#include <stddef.h>

/*************************************************************************************************/
/*************************** Defines *************************************************************/
/*************************************************************************************************/

#define PROD_JANET_NAME    ("janet")

/*************************************************************************************************/
/*************************** Typedefs ************************************************************/
/*************************************************************************************************/

#ifdef __cplusplus
extern "C"
{
#endif

typedef struct {
    char * repl_str;    
    char * term_str;    
    char * out_str;     
    size_t out_str_len; 
} prod_janet_config_t;


#ifdef __cplusplus
}
#endif

/*************************************************************************************************/
/*************************** Public Function Declarations ****************************************/
/*************************************************************************************************/

#ifdef __cplusplus
extern "C"
{
#endif


const char * prod_janet_resolve(const void *config);

const char * prod_janet_terminate(const void *config);

#ifdef __cplusplus
}
#endif


#endif /* end PROD_JANET_H*/