blob: ce0ca395b8be2648f61f659222f726cf5dbde5d1 [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001#ifndef __D2_PUBLIC_API_H__
2#define __D2_PUBLIC_API_H__
3
4#include "kal_public_defs.h"
5#include "kal_general_types.h"
6#include "kal_public_api.h"
7
8// Compiler flag, NEED_TO_BE_NOTICED, set by the compiler
9// N/A
10
11// Type definition
12// N/A
13typedef enum {
14 BUILT_IN_APN_STATUS_SUCCESS,
15 BUILT_IN_APN_STATUS_ONGOING
16} d2_built_in_apn_status;
17
18// Macro
19#define d2_get_owner_by_apn_idx(ps_id, apn_idx) (d2apn_get_owner_by_apn_idx((ps_id), (apn_idx)))
20#define d2_get_ipv6_mtu_by_apn(ps_id, apn_name) (ddm_get_ipv6_mtu_by_apn((ps_id), (apn_name)))
21
22// Interface
23// N/A
24/***********************************************************
25 BUILT_IN_APN_STATUS_SUCCESS: Built-in APN process success *
26 BUILT_IN_APN_STATUS_ONGOING: Built-in APN process ongoing *
27************************************************************/
28extern d2_built_in_apn_status d2_get_built_in_apn_status(kal_uint8 ps_id);
29
30// Implementation
31// N/A
32
33#endif