Hi Slawek, On Fri, Mar 11, 2011, Slawomir Bochenski wrote: > There is also first part of mas.c <-> backend API. The mas_request > structure will be used when calling backend functions. > --- > plugins/mas.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > plugins/messages.h | 15 +++++++++++++ > 2 files changed, 72 insertions(+), 0 deletions(-) I've pushed 2/4 and 3/4 upstream, but there's at least issue one with this last patch: > +enum messages_function_id { > + MFID_INVALID = 0, > + MFID_SET_NOTIFICATION_REGISTRATION, > + MFID_GET_FOLDER_LISTING, > + MFID_GET_MESSAGES_LISTING, > + MFID_GET_MESSAGE, > + MFID_SET_MESSAGE_STATUS, > + MFID_PUSH_MESSAGE, > + MFID_UPDATE_INBOX, > +}; Since "function" here doesn't seem to be referring to a C function but to the type of request, could you call it e.g. request_type instead? Is there a reason you you want to have this enum instead of e.g. storing the original value of the type header? Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html