Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

namesize.h File Reference


Detailed Description

Handling of the (name, size) tuples.

Author:
Raphael Manfredi
Date:
2002-2003

#include <glib.h>

Go to the source code of this file.

Data Structures

struct  namesize
 The (name, size) tuple. More...


Typedefs

typedef namesize namesize_t
 The (name, size) tuple.


Functions

guint namesize_hash (gconstpointer key)
 Hash a `namesize_t' key.

gint namesize_eq (gconstpointer a, gconstpointer b)
 Compare two `namesize_t' keys.

namesize_tnamesize_make (const gchar *name, filesize_t size)
 Create a new namesize structure.

void namesize_free (namesize_t *ns)
 Free a namesize structure.


Typedef Documentation

typedef struct namesize namesize_t
 

The (name, size) tuple.


Function Documentation

gint namesize_eq gconstpointer  a,
gconstpointer  b
 

Compare two `namesize_t' keys.

void namesize_free namesize_t ns  ) 
 

Free a namesize structure.

guint namesize_hash gconstpointer  key  ) 
 

Hash a `namesize_t' key.

namesize_t* namesize_make const gchar *  name,
filesize_t  size
 

Create a new namesize structure.


Generated on Sun Feb 12 10:50:04 2006 for Gtk-Gnutella by doxygen 1.3.6