#define ALIGN_VALUE(this, boundary) \
(( ((unsigned long)(this)) + (((unsigned long)(boundary)) -1)) & (~(((unsigned long)(boundary))-1)))
-gboolean
+static gboolean
is_cache_up_to_date (const gchar *path)
{
struct stat path_stat, cache_stat;
return cache_stat.st_mtime >= path_stat.st_mtime;
}
-gboolean
+static gboolean
has_theme_index (const gchar *path)
{
gboolean result;
}
}
-GList *
+static GList *
scan_directory (const gchar *base_path,
const gchar *subdir,
GHashTable *files,
return TRUE;
}
-gboolean
+static gboolean
write_string (FILE *cache, const gchar *n)
{
gchar *s;
}
-gboolean
+static gboolean
write_card16 (FILE *cache, guint16 n)
{
int i;
return i == 1;
}
-gboolean
+static gboolean
write_card32 (FILE *cache, guint32 n)
{
int i;
}
-gboolean
+static gboolean
write_pixdata (FILE *cache, GdkPixdata *pixdata)
{
guint8 *s;
write_card32 (cache, dir_list_offset));
}
-guint
+static guint
get_image_meta_data_size (Image *image)
{
gint i;
return len;
}
-guint
+static guint
get_image_pixel_data_size (Image *image)
{
if (image->pixel_data_size == 0)
return image->pixel_data_size;
}
-guint
+static guint
get_image_data_size (Image *image)
{
guint len;
return len;
}
-guint
+static guint
get_single_node_size (HashNode *node, gboolean include_image_data)
{
int len = 0;
return len;
}
-guint
+static guint
get_bucket_size (HashNode *node)
{
int len = 0;
return len;
}
-gboolean
+static gboolean
write_bucket (FILE *cache, HashNode *node, int *offset)
{
while (node != NULL)
return TRUE;
}
-gboolean
+static gboolean
write_hash_table (FILE *cache, HashContext *context, int *new_offset)
{
int offset = HASH_OFFSET;
return TRUE;
}
-gboolean
+static gboolean
write_dir_index (FILE *cache, int offset, GList *directories)
{
int n_dirs;
return TRUE;
}
-gboolean
+static gboolean
write_file (FILE *cache, GHashTable *files, GList *directories)
{
HashContext context;
return TRUE;
}
-void
+static void
build_cache (const gchar *path)
{
gchar *cache_path, *tmp_cache_path;
g_printerr (_("Cache file created successfully.\n"));
}
-void
+static void
write_csource (const gchar *path)
{
gchar *cache_path;