Current section
Files
Jump to
Current section
Files
c_src/membrane/_generated/nif/membrane.h
#pragma once
#include "../../membrane.h"
#include <erl_nif.h>
#include <stdint.h>
#include <stdio.h>
#include <unifex/payload.h>
#include <unifex/unifex.h>
#ifdef __cplusplus
extern "C" {
#endif
#define UNIFEX_MODULE ""
/*
* Functions that manage lib and state lifecycle
* Functions with 'unifex_' prefix are generated automatically,
* the user have to implement rest of them.
*/
/*
* Declaration of native functions for module .
* The implementation have to be provided by the user.
*/
/*
* Callbacks for nif lifecycle hooks.
* Have to be implemented by user.
*/
/*
* Functions that create the defined output from Nif.
* They are automatically generated and don't need to be implemented.
*/
/*
* Functions that send the defined messages from Nif.
* They are automatically generated and don't need to be implemented.
*/
int send_membrane_log(UnifexEnv *env, UnifexPid pid, int flags,
const char *level, const char *message, const char *time,
const char **tags, unsigned int tags_length);
#ifdef __cplusplus
}
#endif