~ubuntu-branches/ubuntu/saucy/m17n-lib/saucy

« back to all changes in this revision

Viewing changes to intl/gmo.h

  • Committer: Bazaar Package Importer
  • Author(s): Harshula Jayasuriya
  • Date: 2010-11-23 01:39:29 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20101123013929-rs3kpqgu4kr3qx32
Tags: 1.6.2-1
* New upstream release 1.6.2.
* Update Standards-Version to Debian Policy 3.9.1. (No changes)
* debian/control: Depends: m17n-db and m17n-contrib. (Closes: #599643)
* PATCH: (make_locale): Don't call setlocale.  Just parse the arg NAME.
         (Closes: #601858)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Description of GNU message catalog format: general file layout.
2
 
   Copyright (C) 1995, 1997, 2000-2002, 2004 Free Software Foundation, Inc.
 
2
   Copyright (C) 1995, 1997, 2000-2002, 2004, 2006 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify it
5
5
   under the terms of the GNU Library General Public License as published
13
13
 
14
14
   You should have received a copy of the GNU Library General Public
15
15
   License along with this program; if not, write to the Free Software
16
 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
 
16
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17
17
   USA.  */
18
18
 
19
19
#ifndef _GETTEXT_H
124
124
  nls_uint32 offset;
125
125
};
126
126
 
 
127
/* Pair of a static and a system dependent segment, in struct sysdep_string.  */
 
128
struct segment_pair
 
129
{
 
130
  /* Size of static segment.  */
 
131
  nls_uint32 segsize;
 
132
  /* Reference to system dependent string segment, or ~0 at the end.  */
 
133
  nls_uint32 sysdepref;
 
134
};
 
135
 
127
136
/* Descriptor for system dependent string.  */
128
137
struct sysdep_string
129
138
{
131
140
  nls_uint32 offset;
132
141
  /* Alternating sequence of static and system dependent segments.
133
142
     The last segment is a static segment, including the trailing NUL.  */
134
 
  struct segment_pair
135
 
  {
136
 
    /* Size of static segment.  */
137
 
    nls_uint32 segsize;
138
 
    /* Reference to system dependent string segment, or ~0 at the end.  */
139
 
    nls_uint32 sysdepref;
140
 
  } segments[1];
 
143
  struct segment_pair segments[1];
141
144
};
142
145
 
143
146
/* Marker for the end of the segments[] array.  This has the value 0xFFFFFFFF,