1 /***************************************************************************/
5 /* Callback functions of the caching sub-system (specification only). */
7 /* Copyright 2004, 2005, 2006 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
,
64 ftc_gnode_compare( FTC_Node gnode
,
70 ftc_gcache_init( FTC_Cache cache
);
73 ftc_gcache_done( FTC_Cache cache
);
77 ftc_cache_init( FTC_Cache cache
);
80 ftc_cache_done( FTC_Cache cache
);
82 #ifndef FT_CONFIG_OPTION_OLD_INTERNALS
84 ftc_node_destroy( FTC_Node node
,
85 FTC_Manager manager
);
88 #endif /* __FTCCBACK_H__ */