Files
spark/src/lib/api/core/ApiInteropCommon.h
T

30 lines
522 B
C++

#pragma once
#include "lib/api/apicore.pb.h"
#include "system/export.h"
#include <string>
#include <vector>
namespace bts {
namespace qbus {
class Quickbus;
}
namespace api {
typedef qbus::Quickbus Quickbus;
CAPI Quickbus *api_create_quickbus(const char *qbconfig, long length);
CAPI void api_destroy_quickbus(Quickbus *);
struct StreamUpdate {
enum Type { REMOVE, REPLACE, CREATE };
Type type;
int key;
int buffer_len;
const char *buffer;
};
// Internal methods
} // namespace api
} // namespace bts