Commit dd54db0b authored by Jonathan Beck's avatar Jonathan Beck

predeclare internal structs so we can have strong type checking

parent 9236fee8
......@@ -28,12 +28,20 @@ extern "C" {
#include <sys/types.h>
struct iph_device_int;
typedef iph_device_int *iph_device_t;
typedef void* iph_device_t;
typedef void* iph_lckd_client_t;
typedef void* iph_umux_client_t;
typedef void* iph_afc_client_t;
typedef void* iph_afc_file_t;
struct iph_lckd_client_int;
typedef iph_lckd_client_int *iph_lckd_client_t;
struct iph_umux_client_int;
typedef iph_umux_client_int *iph_umux_client_t;
struct iph_afc_client_int;
typedef iph_afc_client_int *iph_afc_client_t;
struct iph_afc_file_int;
typedef iph_afc_file_int *iph_afc_file_t;
//device related functions
int iph_get_device ( iph_device_t *device );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment