File: indian.h

package info (click to toggle)
mlterm 3.1.2-1.3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 23,168 kB
  • sloc: ansic: 102,795; sh: 9,676; java: 2,018; perl: 1,601; makefile: 1,595; cpp: 771; sed: 16
file content (33 lines) | stat: -rw-r--r-- 808 bytes parent folder | download
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
28
29
30
31
32
33
/* indian.h - This is the header file used for incorporating Indian Script 
 * support in X Windows Applications.
 * Copyright (C) 1999, Naoshad A. Mehta, Rudrava Roy
 */

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>

/* Structure to hold key maps */
struct a2i_tabl {
	char *ascii;
	char *iscii;
};

/* Structure to hold font map */
struct tabl
{
	char *iscii;
	char *font;
};

/* Function prototypes */

char *binsearch(struct tabl *, int, char *);
char *illdefault(struct tabl *, char *, int );
int iscii2font(struct tabl *, char *, char *, int);
char *ins2iscii(struct a2i_tabl *, char *, int);
char *iitk2iscii(struct a2i_tabl *, char *, char *, int);
char *split(struct tabl *, char *, int);
int process_it(struct tabl *, int, char *);
int my_yyinput(char *, int);