5#ifndef __INCLUDE_DAO_CARD_GRPC_CLIENT_H__
6#define __INCLUDE_DAO_CARD_GRPC_CLIENT_H__
8#include "../dao_card_grpc_service.h"
25struct dao_card_grpc_ctx;
54int dao_card_init(
struct dao_card_grpc_ctx *ctx,
struct dao_card_config *config);
137 struct dao_card_failsafe_update_req *req);
int dao_card_failsafe_update(struct dao_card_grpc_ctx *ctx, struct dao_card_failsafe_update_req *req)
void dao_card_fini(struct dao_card_grpc_ctx *ctx)
int dao_card_init(struct dao_card_grpc_ctx *ctx, struct dao_card_config *config)
int dao_card_info_get(struct dao_card_grpc_ctx *ctx, struct dao_card_info *info)
int dao_card_app_update(struct dao_card_grpc_ctx *ctx, struct dao_card_app_update_req *req)
int dao_card_app_fallback(struct dao_card_grpc_ctx *ctx)
void dao_card_grpc_client_fini(struct dao_card_grpc_ctx *ctx)
int dao_card_fw_update(struct dao_card_grpc_ctx *ctx, struct dao_card_fw_update_req *req)
int dao_card_stats_get(struct dao_card_grpc_ctx *ctx, struct dao_card_stats *stats)
struct dao_card_grpc_ctx * dao_card_grpc_client_init(const char *server_ip, uint16_t server_port)