Debian Codegraph @

podofo/3rdparty/adobe/afdko/source/cffwrite/cffwrite_sindex.h

raw
1 /* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
2 This software is licensed as OpenSource, under the Apache License, Version 2.0.
3 This license is available at: http://opensource.org/licenses/Apache-2.0. */
4 /***********************************************************************/
5
6 /*
7 * String index support.
8 */
9
10 #ifndef CFFWRITE_SINDEX_H
11 #define CFFWRITE_SINDEX_H
12
13 #include "cffwrite_share.h"
14
15 void cfwSindexNew(cfwCtx g);
16 void cfwSindexReuse(cfwCtx g);
17 void cfwSindexFree(cfwCtx g);
18
19 int cfwSindexInvalidString(char *string);
20 SRI cfwSindexAddString(cfwCtx g, char *string);
21 char *cfwSindexGetString(cfwCtx g, SRI index);
22 SID cfwSindexAssignSID(cfwCtx g, SRI index);
23
24 long cfwSindexSize(cfwCtx g);
25 void cfwSindexWrite(cfwCtx g);
26
27 #endif /* CFFWRITE_SINDEX_H */