Back to index

plt-scheme  4.2.1
Classes | Defines | Functions | Variables
dcgettext.c File Reference
#include <sys/types.h>
#include <errno.h>
#include <strings.h>
#include "gettext.h"
#include "gettextP.h"
#include "libgettext.h"
#include "hash-string.h"

Go to the source code of this file.

Classes

struct  block_list

Defines

#define strchr   index
#define getcwd(buf, max)   getwd (buf)
#define PATH_INCR   32
#define _POSIX_PATH_MAX   255
#define PATH_MAX   _POSIX_PATH_MAX
#define ADD_BLOCK(list, addr)
#define FREE_BLOCKS(list)
#define alloca(size)   (malloc (size))
#define DCGETTEXT   dcgettext__

Functions

char * alloca ()
char * getenv ()
void free ()
char * getwd ()
static char *stpcpy PARAMS ((char *dest, const char *src))
static char *find_msg PARAMS ((struct loaded_l10nfile *domain_file, const char *msgid))
static const char *category_to_name PARAMS ((int category))
static const char
*guess_category_value 
PARAMS ((int category, const char *categoryname))

Variables

int errno
const char _nl_default_default_domain [] = "messages"
const char * _nl_current_default_domain = _nl_default_default_domain
const char _nl_default_dirname [] = GNULOCALEDIR
struct binding_nl_domain_bindings
char *const char * domainname
const char * msgid
int category
const char * categoryname
const char * src

Class Documentation

struct block_list

Definition at line 175 of file dcgettext.c.

Collaboration diagram for block_list:
Class Members
void * address
struct block_list * next

Define Documentation

#define _POSIX_PATH_MAX   255

Definition at line 116 of file dcgettext.c.

#define ADD_BLOCK (   list,
  addr 
)
Value:
do {                                                                 \
    struct block_list *newp = (struct block_list *) malloc (sizeof (*newp));  \
    /* If we cannot get a free block we cannot add the new element to       \
       the list.  */                                                 \
    if (newp != NULL) {                                                     \
      newp->address = (addr);                                               \
      newp->next = (list);                                           \
      (list) = newp;                                                 \
    }                                                                \
  } while (0)

Definition at line 180 of file dcgettext.c.

#define alloca (   size)    (malloc (size))

Definition at line 199 of file dcgettext.c.

#define DCGETTEXT   dcgettext__

Definition at line 210 of file dcgettext.c.

#define FREE_BLOCKS (   list)
Value:
do {                                                                 \
    while (list != NULL) {                                           \
      struct block_list *old = list;                                        \
      list = list->next;                                             \
      free (old);                                                    \
    }                                                                \
  } while (0)

Definition at line 190 of file dcgettext.c.

#define getcwd (   buf,
  max 
)    getwd (buf)

Definition at line 95 of file dcgettext.c.

#define PATH_INCR   32

Definition at line 105 of file dcgettext.c.

#define PATH_MAX   _POSIX_PATH_MAX

Definition at line 133 of file dcgettext.c.

#define strchr   index

Definition at line 67 of file dcgettext.c.


Function Documentation

char* alloca ( )
void free ( )
char* getenv ( )
char* getwd ( )
static char* stpcpy PARAMS ( (char *dest, const char *src ) [static]
static char* find_msg PARAMS ( (struct loaded_l10nfile *domain_file, const char *msgid ) [static]
static const char* category_to_name PARAMS ( (int category ) [static]
static const char* guess_category_value PARAMS ( (int category, const char *categoryname ) [static]

Variable Documentation

Definition at line 151 of file dcgettext.c.

const char _nl_default_default_domain[] = "messages"

Definition at line 148 of file dcgettext.c.

const char _nl_default_dirname[] = GNULOCALEDIR

Definition at line 154 of file dcgettext.c.

Definition at line 158 of file dcgettext.c.

Definition at line 219 of file dcgettext.c.

Definition at line 483 of file dcgettext.c.

char* const char* domainname

Definition at line 217 of file dcgettext.c.

const char * msgid

Definition at line 218 of file dcgettext.c.

const char* src

Definition at line 588 of file dcgettext.c.