Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Feb 11, 2025
1 parent 1f0c4f5 commit cdd44c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions raftstore-proxy/ffi/src/RaftStoreProxyFFI/ProxyFFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,14 @@ struct EngineStoreServerHelper {
ReportThreadAllocateInfoBatch data);
};

#ifdef __cplusplus
extern "C" {
#endif
// Basically same as ffi_server_info, but no need to setup ProxyHelper, only
// need to setup ServerHelper. Used when proxy not start.
uint32_t ffi_get_server_info_from_proxy(intptr_t, BaseBuffView, RawVoidPtr);
#ifdef __cplusplus
}
#endif

} // namespace DB

0 comments on commit cdd44c1

Please sign in to comment.