![]() | ![]() | ![]() | GnomeVFS - Filesystem Abstraction library | ![]() |
---|
gnome-vfs-standard-callbacks — standard callbacks for use by gnome-vfs module writers
#define GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION #define GNOME_VFS_MODULE_CALLBACK_HTTP_PROXY_AUTHENTICATION struct GnomeVFSModuleCallbackAuthenticationOut; #define GNOME_VFS_MODULE_CALLBACK_HTTP_SEND_ADDITIONAL_HEADERS struct GnomeVFSModuleCallbackAdditionalHeadersIn; struct GnomeVFSModuleCallbackAdditionalHeadersOut; #define GNOME_VFS_MODULE_CALLBACK_HTTP_RECEIVED_HEADERS struct GnomeVFSModuleCallbackReceivedHeadersIn; struct GnomeVFSModuleCallbackReceivedHeadersOut; #define GNOME_VFS_MODULE_CALLBACK_STATUS_MESSAGE struct GnomeVFSModuleCallbackStatusMessageIn; struct GnomeVFSModuleCallbackStatusMessageOut;
#define GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION "simple-authentication"
#define GNOME_VFS_MODULE_CALLBACK_HTTP_PROXY_AUTHENTICATION "http:proxy-authentication"
struct GnomeVFSModuleCallbackAuthenticationOut { char *username; /* will be freed by g_free, * NULL indicates no auth should be provided; * if the request requires authn, the operation * will fail with a GNOME_VFS_ERROR_ACCESS_DENIED * code */ char *password; /* will be freed by g_free */ /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
#define GNOME_VFS_MODULE_CALLBACK_HTTP_SEND_ADDITIONAL_HEADERS "http:send-additional-headers"
struct GnomeVFSModuleCallbackAdditionalHeadersIn { GnomeVFSURI *uri; /* URI of operation */ /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
struct GnomeVFSModuleCallbackAdditionalHeadersOut { GList *headers; /* list of headers, will be freeed */ /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
#define GNOME_VFS_MODULE_CALLBACK_HTTP_RECEIVED_HEADERS "http:received-headers"
struct GnomeVFSModuleCallbackReceivedHeadersIn { GnomeVFSURI *uri; /* URI of operation */ GList *headers; /* list of headers */ /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
struct GnomeVFSModuleCallbackReceivedHeadersOut { int dummy; /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
#define GNOME_VFS_MODULE_CALLBACK_STATUS_MESSAGE "status-message"
struct GnomeVFSModuleCallbackStatusMessageIn { char *uri; /* Full URI of operation */ char *message; /* A message indicating the current state or * NULL if there is no message */ int percentage; /* Percentage indicating completeness 0-100 or * -1 if there is no progress percentage to * report */ /* Reserved "padding" to avoid future breaks in ABI compatibility */ void *reserved1; void *reserved2; };
<< gnome-vfs-utils | gnome-vfs-inet-connection >> |