FOSSology  4.4.0
Open Source License Compliance by Open Source Software
nomos_gap.h
1 /*
2  SPDX-FileCopyrightText: © 2013-2014 Siemens AG
3 
4  SPDX-License-Identifier: GPL-2.0-only
5 */
6 
7 #ifndef NOMOS_GAP_H
8 #define NOMOS_GAP_H
9 #ifndef _GNU_SOURCE
10 #define _GNU_SOURCE
11 #endif /* not defined _GNU_SOURCE */
12 #include <glib.h>
13 
14 struct PairPosOff {
15  int pos;
16  int off;
17 };
18 typedef struct PairPosOff pairPosOff;
19 
20 pairPosOff* getPairPosOff(GArray* in, int index);
21 int uncollapsePosition(int collapsedPos, GArray* shifter);
22 GArray* collapseSpaces(char* text);
23 GArray* collapseInvisible(char* text, char invisible);
24 #endif /* NOMOS_GAP_H */
GArray * collapseInvisible(char *text, char invisible)
Definition: nomos_gap.c:19
GArray * collapseSpaces(char *text)
Definition: nomos_gap.c:51