1 /***************************************************************************/
5 /* Callback functions of the caching sub-system (specification only). */
7 /* Copyright 2004, 2005, 2006, 2011 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
18 #ifndef __FTCCBACK_H__
19 #define __FTCCBACK_H__
31 ftc_inode_free( FTC_Node inode,
35 ftc_inode_new( FTC_Node *pinode,
40 ftc_inode_weight( FTC_Node inode,
45 ftc_snode_free( FTC_Node snode,
49 ftc_snode_new( FTC_Node *psnode,
54 ftc_snode_weight( FTC_Node snode,
58 ftc_snode_compare( FTC_Node snode,
61 FT_Bool* list_changed );
65 ftc_gnode_compare( FTC_Node gnode,
68 FT_Bool* list_changed );
72 ftc_gcache_init( FTC_Cache cache );
75 ftc_gcache_done( FTC_Cache cache );
79 ftc_cache_init( FTC_Cache cache );
82 ftc_cache_done( FTC_Cache cache );
84 #ifndef FT_CONFIG_OPTION_OLD_INTERNALS
86 ftc_node_destroy( FTC_Node node,
87 FTC_Manager manager );
90 #endif /* __FTCCBACK_H__ */