Main Page | Modules | Alphabetical List | Data Structures | Directories | 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 "common.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 Sat Jun 30 17:53:28 2007 for gtk-gnutella by  doxygen 1.3.9.1