bool_t
xdr_rpc_loc_assist_data_pos_s_type (XDR *xdrs, rpc_loc_assist_data_pos_s_type *objp)
{
    register int32_t *buf;

    if (!xdr_rpc_loc_assist_pos_valid_mask_type (xdrs, &objp->valid_mask))
        return FALSE;
    if (!xdr_rpc_uint64 (xdrs, &objp->timestamp_utc))
        return FALSE;
    if (!xdr_double (xdrs, &objp->latitude))
        return FALSE;
    if (!xdr_double (xdrs, &objp->longitude))
        return FALSE;
    if (!xdr_float (xdrs, &objp->altitude_wrt_ellipsoid))
        return FALSE;
    if (!xdr_float (xdrs, &objp->altitude_wrt_mean_sea_level))
        return FALSE;
    if (!xdr_float (xdrs, &objp->hor_unc_circular))
        return FALSE;
    if (!xdr_float (xdrs, &objp->vert_unc))
        return FALSE;
    if (!xdr_u_char (xdrs, &objp->confidence_horizontal))
        return FALSE;
    if (!xdr_u_char (xdrs, &objp->confidence_vertical))
        return FALSE;
    if (!xdr_rpc_int32 (xdrs, &objp->timestamp_age))
        return FALSE;
    return TRUE;
}
bool_t
xdr_rpc_loc_wiper_fix_pos_s_type (XDR *xdrs, rpc_loc_wiper_fix_pos_s_type *objp)
{
    register int32_t *buf;

    if (!xdr_rpc_int32 (xdrs, &objp->lat))
        return FALSE;
    if (!xdr_rpc_int32 (xdrs, &objp->lon))
        return FALSE;
    if (!xdr_rpc_uint16 (xdrs, &objp->HEPE))
        return FALSE;
    if (!xdr_rpc_uint8 (xdrs, &objp->num_of_aps_used))
        return FALSE;
    if (!xdr_rpc_uint8 (xdrs, &objp->fix_error_code))
        return FALSE;
    return TRUE;
}
Esempio n. 3
0
bool_t
xdr_rpc_loc_ioctl_rets (XDR *xdrs, rpc_loc_ioctl_rets *objp)
{
    register int32_t *buf;

    if (!xdr_rpc_int32 (xdrs, &objp->loc_ioctl_result))
        return FALSE;
    return TRUE;
}
bool_t
xdr_rpc_loc_event_cb_f_type_rets (XDR *xdrs, rpc_loc_event_cb_f_type_rets *objp)
{
;

     if (!xdr_rpc_int32 (xdrs, &objp->loc_event_cb_f_type_result))
         return FALSE;
    return TRUE;
}
bool_t
xdr_rpc_loc_client_handle_type (XDR *xdrs, rpc_loc_client_handle_type *objp)
{
    register int32_t *buf;

    if (!xdr_rpc_int32 (xdrs, objp))
        return FALSE;
    return TRUE;
}
bool_t
xdr_rpc_loc_ioctl_callback_s_type (XDR *xdrs, rpc_loc_ioctl_callback_s_type *objp)
{
    register int32_t *buf;

    if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->type))
        return FALSE;
    if (!xdr_rpc_int32 (xdrs, &objp->status))
        return FALSE;
    if (!xdr_rpc_loc_ioctl_callback_data_u_type (xdrs, &objp->data))
        return FALSE;
    return TRUE;
}
bool_t
xdr_rpc_loc_wiper_ap_info_s_type (XDR *xdrs, rpc_loc_wiper_ap_info_s_type *objp)
{
    register int32_t *buf;

    int i;
    if (!xdr_opaque (xdrs, objp->mac_addr, 6))
        return FALSE;
    if (!xdr_rpc_int32 (xdrs, &objp->rssi))
        return FALSE;
    if (!xdr_rpc_uint16 (xdrs, &objp->channel))
        return FALSE;
    if (!xdr_rpc_uint8 (xdrs, &objp->ap_qualifier))
        return FALSE;
    return TRUE;
}