/usr/include/xview_private/gettext.h is in xviewg-dev 3.2p1.4-28.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /* @(#)gettext.h 50.11 93/06/28 SMI */
#define DEFAULT_DOMAIN "default"
#ifndef __linux__
#define DEFAULT_BINDING "/usr/lib/locale\n"
#else
#define DEFAULT_BINDING "/usr/openwin/lib/locale\n"
#endif
#define COOKIE 0xFF
#define BINDINGLISTDELIM '\n'
#define MAX_VALUE_LEN 2047
#define MAX_DOMAIN_LENGTH 255
#define LC_NAMELEN 255
#include <ctype.h>
#include <errno.h>
#ifdef OS_HAS_LOCALE
#include <locale.h>
#if defined(__linux__) && !defined(LC_MESSAGES) && defined(LC_RESPONSE)
#define LC_MESSAGES LC_RESPONSE
#endif
#endif /* OS_HAS_LOCALE */
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
struct domain_binding {
char *domain_name;
char *binding;
struct domain_binding *nextdomain;
};
#include <fcntl.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <xview/base.h>
#include <xview_private/portable.h>
#define MAX_MSG 64
struct struct_mo_info {
int message_mid;
int message_count;
int string_count_msgid;
int string_count_msg;
int message_struct_size;
} ;
struct message_struct {
int less;
int more;
int msgid_offset;
int msg_offset;
};
struct message_so {
char *message_so_path; /* name of message shared object */
int fd; /* file descriptor */
struct struct_mo_info *mess_file_info; /* information of message file */
struct message_struct *message_list;/* message list */
char *msg_ids; /* actual message ids */
char *msgs; /* actual messages */
};
|