Update Stellar export header and add stellar_get_current_thread_index() function
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#ifndef _PACKET_H
|
||||
#define _PACKET_H
|
||||
#ifndef _PACKET_PUB_H
|
||||
#define _PACKET_PUB_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "tuple.h"
|
||||
#include "stellar/tuple.h"
|
||||
|
||||
enum layer_type
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _SESSION_H
|
||||
#define _SESSION_H
|
||||
#ifndef _SESSION_PUB_H
|
||||
#define _SESSION_PUB_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -8,7 +8,7 @@ extern "C"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "packet.h"
|
||||
#include "stellar/packet.h"
|
||||
|
||||
enum session_state
|
||||
{
|
||||
17
include/stellar/stellar.h
Normal file
17
include/stellar/stellar.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _STELLAR_PUB_H
|
||||
#define _STELLAR_PUB_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
uint8_t stellar_get_current_thread_index();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _TUPLE_H
|
||||
#define _TUPLE_H
|
||||
#ifndef _TUPLE_PUB_H
|
||||
#define _TUPLE_PUB_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
Reference in New Issue
Block a user