chore: archive old C++ CMake build to .deprecated-cmake/; Rust is now canonical

This commit is contained in:
2026-04-28 22:47:45 +08:00
parent b7f756bc2b
commit 313315cd3f
9 changed files with 0 additions and 0 deletions
@@ -0,0 +1,12 @@
/*
* 自研适配器 HTTP 客户端桩实现。
*
* 版权所有 © 广州创飞人工智能技术有限公司
* 开发者:huangping@craftlabs.cn
*/
#include "http_client.h"
int selfhosted_http_ping(const char* /* base_url */) {
/* 接入 libcurl 等之后再实现真实请求;当前保证注册阶段可链接通过。 */
return 0;
}
@@ -0,0 +1,22 @@
/*
* 自研适配器用的最小 HTTP 门面(后续可接 libcurl / WinHTTP)。
*
* 版权所有 © 广州创飞人工智能技术有限公司
* 开发者:huangping@craftlabs.cn
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* 对给定基地址做连通性探测;当前为占位实现。
* @param base_url 服务根 URL,可为空(实现定义行为)。
* @return 0 表示占位成功,非 0 预留为错误码。
*/
int selfhosted_http_ping(const char* base_url);
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,12 @@
/*
* 自研 HTTP 授权适配器实现。
*
* 版权所有 © 广州创飞人工智能技术有限公司
* 开发者:huangping@craftlabs.cn
*/
#include "selfhosted_adapter.h"
#include "http_client.h"
void selfhosted_adapter_register(void) {
(void)selfhosted_http_ping("");
}
@@ -0,0 +1,18 @@
/*
* 自研 HTTP 授权适配器 — 注册入口。
*
* 版权所有 © 广州创飞人工智能技术有限公司
* 开发者:huangping@craftlabs.cn
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/** 注册自研适配器依赖(如 HTTP 客户端探测);可与 Bitanswer 注册并存。 */
void selfhosted_adapter_register(void);
#ifdef __cplusplus
}
#endif