mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 18:10:30 +08:00
3894315759
Made-with: Cursor
23 lines
532 B
C
23 lines
532 B
C
/*
|
|
* 自研适配器用的最小 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
|