|
|
@ -99,6 +99,7 @@ typedef struct { |
|
|
|
typedef enum { |
|
|
|
ktimecode_report_event = 0, |
|
|
|
kxsync_work_state_report_event = 1, |
|
|
|
kdevice_online_report_event = 2, |
|
|
|
} iflytop_event_type_t; |
|
|
|
|
|
|
|
#define XYSNC_REG_DEVICE_INFO_START_ADD 0 |
|
|
@ -177,13 +178,15 @@ typedef enum { |
|
|
|
kxsync_device_type_encoder = 3, |
|
|
|
} xsync_device_type_t; |
|
|
|
|
|
|
|
typedef enum { obtaining_ip_mode_type_static = 0, obtaining_ip_mode_type_dhcp = 1 } obtaining_ip_mode_t; |
|
|
|
typedef enum { obtaining_ip_mode_type_static = 0, obtaining_ip_mode_type_dhcp = 1, obtaining_ip_mode_type_lla = 2 } obtaining_ip_mode_t; |
|
|
|
static inline const char* obtaining_ip_mode_to_string(obtaining_ip_mode_t mode) { |
|
|
|
switch (mode) { |
|
|
|
case obtaining_ip_mode_type_static: |
|
|
|
return "static"; |
|
|
|
case obtaining_ip_mode_type_dhcp: |
|
|
|
return "dhcp"; |
|
|
|
case obtaining_ip_mode_type_lla: |
|
|
|
return "lla"; |
|
|
|
default: |
|
|
|
return "unknown"; |
|
|
|
} |
|
|
|