Commit d1cc9273 authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Remove dpap_record_to_blob and _new_from_blob (were left over from pre-DMAPRecord merge)


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 10e2d6f2
service-added callback takes a void *, not nice with Vala see also
dpapview.vala.
Reduce memory needed to send entire listing to client:
get bdb dmapd backend working well
review changes
......
......@@ -165,15 +165,3 @@ dpap_record_read (DPAPRecord *record, GError **err)
{
return DPAP_RECORD_GET_INTERFACE (record)->read (record, err);
}
GByteArray *
dpap_record_to_blob (DPAPRecord *record)
{
return DPAP_RECORD_GET_INTERFACE (record)->to_blob (record);
}
DPAPRecord *
dpap_record_new_from_blob (DPAPRecord *record, GByteArray *blob)
{
return DPAP_RECORD_GET_INTERFACE (record)->new_from_blob (record, blob);
}
......@@ -70,8 +70,6 @@ struct _DPAPRecordInterface {
GTypeInterface parent;
GInputStream * (*read) (DPAPRecord *record, GError **err);
GByteArray * (*to_blob) (DPAPRecord *record);
DPAPRecord * (*new_from_blob) (DPAPRecord *record, GByteArray *blob);
};
GType dpap_record_get_type (void);
......@@ -86,22 +84,6 @@ GType dpap_record_get_type (void);
*/
GInputStream *dpap_record_read (DPAPRecord *record, GError **err);
/**
* dpap_record_to_blob:
* @record: a DPAPRecord.
*
* Returns: A serialized representation of the record.
*/
GByteArray *dpap_record_to_blob (DPAPRecord *record);
/**
* dpap_record_new_from_blob:
* @blob: a serialized DPAPRecord representation.
*
* Returns: A DPAPRecord.
*/
DPAPRecord *dpap_record_new_from_blob (DPAPRecord *record, GByteArray *blob);
#endif /* __DPAP_RECORD_H */
G_END_DECLS
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