gnome-keyring-generic-callbacks

gnome-keyring-generic-callbacks

Synopsis




void                (*GnomeKeyringOperationDoneCallback)
                                                        (GnomeKeyringResult result,
                                                         gpointer data);
void                (*GnomeKeyringOperationGetIntCallback)
                                                        (GnomeKeyringResult result,
                                                         guint32 val,
                                                         gpointer data);
void                (*GnomeKeyringOperationGetListCallback)
                                                        (GnomeKeyringResult result,
                                                         GList *list,
                                                         gpointer data);
void                (*GnomeKeyringOperationGetStringCallback)
                                                        (GnomeKeyringResult result,
                                                         const char *string,
                                                         gpointer data);

Description

Details

GnomeKeyringOperationDoneCallback ()

void                (*GnomeKeyringOperationDoneCallback)
                                                        (GnomeKeyringResult result,
                                                         gpointer data);

A simple callback with the result of an operation.

result : The result of the operation.
data : A pointer to arbitrary data passed in when starting the operation.

GnomeKeyringOperationGetIntCallback ()

void                (*GnomeKeyringOperationGetIntCallback)
                                                        (GnomeKeyringResult result,
                                                         guint32 val,
                                                         gpointer data);

result : The result of the operation.
val : An unsigned integer.
data : A pointer to arbitrary data passed in when starting the operation.

GnomeKeyringOperationGetListCallback ()

void                (*GnomeKeyringOperationGetListCallback)
                                                        (GnomeKeyringResult result,
                                                         GList *list,
                                                         gpointer data);

result : The result of the operation.
list : A GList, possibly empty. Do not free this list.
data : A pointer to arbitrary data passed in when starting the operation.

GnomeKeyringOperationGetStringCallback ()

void                (*GnomeKeyringOperationGetStringCallback)
                                                        (GnomeKeyringResult result,
                                                         const char *string,
                                                         gpointer data);

result : The result of the operation.
string : A null-terminated string, or NULL. Do not free this memory.
data : A pointer to arbitrary data passed in when starting the operation.