coan 4.2.4
The Includes Tally component internals.
Collaboration diagram for The Includes Tally component internals.:

Modules

 Macro-generated code

Files

file  includes_tally.c

Functions

static hash_include_h hash_include_lookup (char const *arg, size_t arglen)
static void hash_include_add (hash_include_h inc_arg)

Function Documentation

static void hash_include_add ( hash_include_h  inc_arg) [static]

Add a hash-include argument to the includes table.

Parameters:
inc_argThe argument to be added.

Definition at line 100 of file includes_tally.c.

References GET_PUBLIC, and ptr_set_insert().

Referenced by hash_include_tally().

Here is the call graph for this function:

static hash_include_h hash_include_lookup ( char const *  arg,
size_t  arglen 
) [static]

Lookup the includes table for a hash-include argument.

Parameters:
argThe start of the hash-include argument.
arglenThe length of the hash-include argument.
Returns:
If a hash-include argument with the given name is found then it is returned. Otherwise a new hash-include argument with that name. A new hash-include argument can be distinguished by calling hash_include_seen(), which will return false if the hash-include argument is new.

Definition at line 88 of file includes_tally.c.

References GET_PUBLIC, and ptr_set_search().

Referenced by hash_include_tally().

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines