can struct definitions from localtime.c be moved to private.h ?
The source file localtime.c includes the definitions for structures used in the binary (compiled) zone files. I am writing code which accesses these compiled zone files. It would be most convenient to have the struct definitions moved from localtime.c to a header file, e.g. private.h which I can include in other code. struct ttinfo struct lsinfo struct state struct rule
probably better to tzfile.h On 08.08.13 12:51, Alois Treindl wrote:
The source file localtime.c includes the definitions for structures used in the binary (compiled) zone files.
I am writing code which accesses these compiled zone files. It would be most convenient to have the struct definitions moved from localtime.c to a header file, e.g. tzfile.h which I can include in other code.
struct ttinfo struct lsinfo struct state struct rule
On 08/08/2013 03:51 AM, Alois Treindl wrote:
The source file localtime.c includes the definitions for structures used in the binary (compiled) zone files.
Those structures are not used in the binary zone files. They are creatures of localtime.c, which reads the binary zone files and converts their data into internal form. Other binary zone file readers are free to use their own formats.
participants (2)
-
Alois Treindl -
Paul Eggert