File: cffwrite_sindex.h

package info (click to toggle)
afdko 4.0.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,360 kB
  • sloc: ansic: 148,322; python: 24,622; cpp: 16,785; yacc: 421; makefile: 76; cs: 47; sh: 13
file content (27 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
   This software is licensed as OpenSource, under the Apache License, Version 2.0.
   This license is available at: http://opensource.org/licenses/Apache-2.0. */
/***********************************************************************/

/*
 * String index support.
 */

#ifndef CFFWRITE_SINDEX_H
#define CFFWRITE_SINDEX_H

#include "cffwrite_share.h"

void cfwSindexNew(cfwCtx g);
void cfwSindexReuse(cfwCtx g);
void cfwSindexFree(cfwCtx g);

int cfwSindexInvalidString(char *string);
SRI cfwSindexAddString(cfwCtx g, char *string);
char *cfwSindexGetString(cfwCtx g, SRI index);
SID cfwSindexAssignSID(cfwCtx g, SRI index);

long cfwSindexSize(cfwCtx g);
void cfwSindexWrite(cfwCtx g);

#endif /* CFFWRITE_SINDEX_H */