tags.h File Reference

#include <glib.h>
Include dependency graph for tags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const gchar * get_tag_for_file (const gchar *filename, const gchar *dir, const char *basedir)

Function Documentation

const gchar* get_tag_for_file ( const gchar *  filename,
const gchar *  dir,
const char *  basedir 
)

File Name : tags.h Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 88 of file tags.c.

References g_extension_pointer(), get_tag_for_dir(), and get_tag_for_extension().

Referenced by handle_changes().

00091 {
00092     static const char* empty = "";
00093 
00094     const char *ctag = get_tag_for_dir(dir, basedir);
00095     if (ctag) return ctag;
00096 
00097     const char *ext = g_extension_pointer(filename);
00098     ctag = get_tag_for_extension(ext);
00099     if (ctag) return ctag;
00100 
00101     return empty;
00102 }

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  doxygen 1.6.2-20100208