gnome-vfs-inet-connection

Name

gnome-vfs-inet-connection -- 

Synopsis



GnomeVFSResult gnome_vfs_inet_connection_create
                                            (GnomeVFSInetConnection **connection_return,
                                             const gchar *host_name,
                                             guint host_port,
                                             GnomeVFSCancellation *cancellation);
void        gnome_vfs_inet_connection_destroy
                                            (GnomeVFSInetConnection *connection,
                                             GnomeVFSCancellation *cancellation);
void        gnome_vfs_inet_connection_free  (GnomeVFSInetConnection *connection,
                                             GnomeVFSCancellation *cancellation);
GnomeVFSSocket* gnome_vfs_inet_connection_to_socket
                                            (GnomeVFSInetConnection *connection);
GnomeVFSSocketBuffer* gnome_vfs_inet_connection_to_socket_buffer
                                            (GnomeVFSInetConnection *connection);
int         gnome_vfs_inet_connection_get_fd
                                            (GnomeVFSInetConnection *connection);

Description

Details

gnome_vfs_inet_connection_create ()

GnomeVFSResult gnome_vfs_inet_connection_create
                                            (GnomeVFSInetConnection **connection_return,
                                             const gchar *host_name,
                                             guint host_port,
                                             GnomeVFSCancellation *cancellation);

Creates a connection at handle_return to host_name using port port.


gnome_vfs_inet_connection_destroy ()

void        gnome_vfs_inet_connection_destroy
                                            (GnomeVFSInetConnection *connection,
                                             GnomeVFSCancellation *cancellation);

Closes/Destroys connection.


gnome_vfs_inet_connection_free ()

void        gnome_vfs_inet_connection_free  (GnomeVFSInetConnection *connection,
                                             GnomeVFSCancellation *cancellation);


gnome_vfs_inet_connection_to_socket ()

GnomeVFSSocket* gnome_vfs_inet_connection_to_socket
                                            (GnomeVFSInetConnection *connection);

Wrapper connection inside a standard GnomeVFSSocket for convenience.


gnome_vfs_inet_connection_to_socket_buffer ()

GnomeVFSSocketBuffer* gnome_vfs_inet_connection_to_socket_buffer
                                            (GnomeVFSInetConnection *connection);

Wrapper connection inside a standard GnomeVFSSocketBuffer for convenience.


gnome_vfs_inet_connection_get_fd ()

int         gnome_vfs_inet_connection_get_fd
                                            (GnomeVFSInetConnection *connection);

Retrieve the UNIX file descriptor corresponding to connection.