set_algorithms method not needed
This commit is contained in:
@@ -150,13 +150,6 @@ METHOD(tcg_pts_attr_meas_algo_t, get_algorithms, pts_meas_algorithms_t,
|
|||||||
return this->algorithms;
|
return this->algorithms;
|
||||||
}
|
}
|
||||||
|
|
||||||
METHOD(tcg_pts_attr_meas_algo_t, set_algorithms, void,
|
|
||||||
private_tcg_pts_attr_meas_algo_t *this,
|
|
||||||
pts_meas_algorithms_t algorithms)
|
|
||||||
{
|
|
||||||
this->algorithms = algorithms;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Described in header.
|
* Described in header.
|
||||||
*/
|
*/
|
||||||
@@ -178,7 +171,6 @@ pa_tnc_attr_t *tcg_pts_attr_meas_algo_create(pts_meas_algorithms_t algorithms,
|
|||||||
.destroy = _destroy,
|
.destroy = _destroy,
|
||||||
},
|
},
|
||||||
.get_algorithms = _get_algorithms,
|
.get_algorithms = _get_algorithms,
|
||||||
.set_algorithms = _set_algorithms,
|
|
||||||
},
|
},
|
||||||
.vendor_id = PEN_TCG,
|
.vendor_id = PEN_TCG,
|
||||||
.type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
|
.type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
|
||||||
@@ -210,7 +202,6 @@ pa_tnc_attr_t *tcg_pts_attr_meas_algo_create_from_data(chunk_t data,
|
|||||||
.destroy = _destroy,
|
.destroy = _destroy,
|
||||||
},
|
},
|
||||||
.get_algorithms = _get_algorithms,
|
.get_algorithms = _get_algorithms,
|
||||||
.set_algorithms = _set_algorithms,
|
|
||||||
},
|
},
|
||||||
.vendor_id = PEN_TCG,
|
.vendor_id = PEN_TCG,
|
||||||
.type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
|
.type = selection ? TCG_PTS_MEAS_ALGO_SELECTION : TCG_PTS_MEAS_ALGO,
|
||||||
|
|||||||
@@ -45,14 +45,6 @@ struct tcg_pts_attr_meas_algo_t {
|
|||||||
*/
|
*/
|
||||||
pts_meas_algorithms_t (*get_algorithms)(tcg_pts_attr_meas_algo_t *this);
|
pts_meas_algorithms_t (*get_algorithms)(tcg_pts_attr_meas_algo_t *this);
|
||||||
|
|
||||||
/**
|
|
||||||
* Set PTS Measurement Algorithm Set
|
|
||||||
*
|
|
||||||
* @param flags set of algorithms
|
|
||||||
*/
|
|
||||||
void (*set_algorithms)(tcg_pts_attr_meas_algo_t *this,
|
|
||||||
pts_meas_algorithms_t algorithms);
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user