w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mendex.h File Reference
#include <c-auto.h>
#include <kpathsea/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for mendex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  page
 
struct  index
 

Macros

#define fprintf   fprintf2
 
#define fputs   fputs2
 

Functions

void initkanatable (void)
 
int convert (char *buff1, char *buff2)
 
int pnumconv (char *page, int attr)
 
int dicread (const char *filename)
 
int lastpage (const char *filename)
 
void wsort (struct index *ind, int num)
 
void pagesort (struct index *ind, int num)
 
int alphanumeric (char c)
 
int alphabet (char c)
 
int numeric (char c)
 
int japanese (char *buff)
 
int chkcontinue (struct page *p, int num)
 
void styread (const char *filename)
 
char * mfgets (char *buf, int size, FILE *fp)
 
int idxread (char *filename, int start)
 
int fprintf2 (FILE *fp, const char *format,...)
 
void warn_printf (FILE *fp, const char *format,...)
 
void verb_printf (FILE *fp, const char *format,...)
 
void indwrite (char *filename, struct index *ind, int pagenum)
 

Macro Definition Documentation

◆ fprintf

#define fprintf   fprintf2

Definition at line 64 of file mendex.h.

◆ fputs

#define fputs   fputs2

Definition at line 67 of file mendex.h.

Function Documentation

◆ alphabet()

int alphabet ( char  c)

Definition at line 230 of file sort.c.

References c.

Referenced by digest_hex(), indwrite(), md5_digest_get(), ordering(), and uint16_as_roman().

◆ alphanumeric()

int alphanumeric ( char  c)

Definition at line 223 of file sort.c.

References c.

◆ chkcontinue()

int chkcontinue ( struct page p,
int  num 
)

Definition at line 248 of file sort.c.

References page::attr, buff, i, j, num, num1, num2, p, page_compositor, pnumconv(), strlen(), strncmp(), and strncpy().

Referenced by range_check().

◆ convert()

◆ dicread()

int dicread ( const char *  filename)

Definition at line 68 of file convert.c.

◆ fprintf2()

int fprintf2 ( FILE fp,
const char *  format,
  ... 
)

Definition at line 77 of file fwrite.c.

◆ idxread()

int idxread ( char *  filename,
int  start 
)

Definition at line 16 of file fread.c.

◆ indwrite()

void indwrite ( char *  filename,
struct index ind,
int  pagenum 
)

Definition at line 120 of file fwrite.c.

◆ initkanatable()

void initkanatable ( void  )

Definition at line 34 of file convert.c.

◆ japanese()

int japanese ( char *  buff)

Definition at line 242 of file sort.c.

References buff, HIRATOP, and strncmp().

Referenced by applyOnRegion2(), ExampleCheck(), indwrite(), ordering(), and wcomp().

◆ lastpage()

int lastpage ( const char *  filename)

Definition at line 21 of file pageread.c.

References atoi(), EOF, exit(), fclose, fgetc, FILE, filename, fopen, fp, fprintf, i, logfile, NULL, num, sprintf, strlen(), and strncpy().

◆ mfgets()

char* mfgets ( char *  buf,
int  size,
FILE fp 
)

Definition at line 132 of file mfileio.c.

◆ numeric()

◆ pagesort()

void pagesort ( struct index ind,
int  num 
)

Definition at line 147 of file sort.c.

References buff, free, i, ind, j, num, pcomp(), qsort, and xmalloc.

Referenced by main().

◆ pnumconv()

int pnumconv ( char *  page,
int  attr 
)

Definition at line 368 of file convert.c.

◆ styread()

◆ verb_printf()

void verb_printf ( FILE fp,
const char *  format,
  ... 
)

Definition at line 105 of file fwrite.c.

◆ warn_printf()

void warn_printf ( FILE fp,
const char *  format,
  ... 
)

Definition at line 91 of file fwrite.c.

◆ wsort()

void wsort ( struct index ind,
int  num 
)

Definition at line 14 of file sort.c.

References alpha, character_order, i, ind, kana, num, qsort, sym, and wcomp().

Referenced by main().