rollup commit
This commit is contained in:
8
AUTHORS
8
AUTHORS
@@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
Current Maintainer: Charles Wyble <jackshck@thewybles.com>
|
Current Maintainer: Charles Wyble <jackshck@thewybles.com>
|
||||||
Original Author: Steve Grubb <linux_4ever@yahoo.com>
|
Original Author: Steve Grubb <linux_4ever@yahoo.com>
|
||||||
|
|
||||||
|
|||||||
680
COPYING
680
COPYING
@@ -1,340 +1,340 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<signature of Ty Coon>, 1 April 1989
|
<signature of Ty Coon>, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
|||||||
364
INSTALL
364
INSTALL
@@ -1,182 +1,182 @@
|
|||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
==================
|
||||||
|
|
||||||
These are generic installation instructions.
|
These are generic installation instructions.
|
||||||
|
|
||||||
The `configure' shell script attempts to guess correct values for
|
The `configure' shell script attempts to guess correct values for
|
||||||
various system-dependent variables used during compilation. It uses
|
various system-dependent variables used during compilation. It uses
|
||||||
those values to create a `Makefile' in each directory of the package.
|
those values to create a `Makefile' in each directory of the package.
|
||||||
It may also create one or more `.h' files containing system-dependent
|
It may also create one or more `.h' files containing system-dependent
|
||||||
definitions. Finally, it creates a shell script `config.status' that
|
definitions. Finally, it creates a shell script `config.status' that
|
||||||
you can run in the future to recreate the current configuration, a file
|
you can run in the future to recreate the current configuration, a file
|
||||||
`config.cache' that saves the results of its tests to speed up
|
`config.cache' that saves the results of its tests to speed up
|
||||||
reconfiguring, and a file `config.log' containing compiler output
|
reconfiguring, and a file `config.log' containing compiler output
|
||||||
(useful mainly for debugging `configure').
|
(useful mainly for debugging `configure').
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
If you need to do unusual things to compile the package, please try
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
to figure out how `configure' could check whether to do them, and mail
|
||||||
diffs or instructions to the address given in the `README' so they can
|
diffs or instructions to the address given in the `README' so they can
|
||||||
be considered for the next release. If at some point `config.cache'
|
be considered for the next release. If at some point `config.cache'
|
||||||
contains results you don't want to keep, you may remove or edit it.
|
contains results you don't want to keep, you may remove or edit it.
|
||||||
|
|
||||||
The file `configure.in' is used to create `configure' by a program
|
The file `configure.in' is used to create `configure' by a program
|
||||||
called `autoconf'. You only need `configure.in' if you want to change
|
called `autoconf'. You only need `configure.in' if you want to change
|
||||||
it or regenerate `configure' using a newer version of `autoconf'.
|
it or regenerate `configure' using a newer version of `autoconf'.
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
The simplest way to compile this package is:
|
||||||
|
|
||||||
1. `cd' to the directory containing the package's source code and type
|
1. `cd' to the directory containing the package's source code and type
|
||||||
`./configure' to configure the package for your system. If you're
|
`./configure' to configure the package for your system. If you're
|
||||||
using `csh' on an old version of System V, you might need to type
|
using `csh' on an old version of System V, you might need to type
|
||||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||||
`configure' itself.
|
`configure' itself.
|
||||||
|
|
||||||
Running `configure' takes awhile. While running, it prints some
|
Running `configure' takes awhile. While running, it prints some
|
||||||
messages telling which features it is checking for.
|
messages telling which features it is checking for.
|
||||||
|
|
||||||
2. Type `make' to compile the package.
|
2. Type `make' to compile the package.
|
||||||
|
|
||||||
3. Optionally, type `make check' to run any self-tests that come with
|
3. Optionally, type `make check' to run any self-tests that come with
|
||||||
the package.
|
the package.
|
||||||
|
|
||||||
4. Type `make install' to install the programs and any data files and
|
4. Type `make install' to install the programs and any data files and
|
||||||
documentation.
|
documentation.
|
||||||
|
|
||||||
5. You can remove the program binaries and object files from the
|
5. You can remove the program binaries and object files from the
|
||||||
source code directory by typing `make clean'. To also remove the
|
source code directory by typing `make clean'. To also remove the
|
||||||
files that `configure' created (so you can compile the package for
|
files that `configure' created (so you can compile the package for
|
||||||
a different kind of computer), type `make distclean'. There is
|
a different kind of computer), type `make distclean'. There is
|
||||||
also a `make maintainer-clean' target, but that is intended mainly
|
also a `make maintainer-clean' target, but that is intended mainly
|
||||||
for the package's developers. If you use it, you may have to get
|
for the package's developers. If you use it, you may have to get
|
||||||
all sorts of other programs in order to regenerate files that came
|
all sorts of other programs in order to regenerate files that came
|
||||||
with the distribution.
|
with the distribution.
|
||||||
|
|
||||||
Compilers and Options
|
Compilers and Options
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that
|
Some systems require unusual options for compilation or linking that
|
||||||
the `configure' script does not know about. You can give `configure'
|
the `configure' script does not know about. You can give `configure'
|
||||||
initial values for variables by setting them in the environment. Using
|
initial values for variables by setting them in the environment. Using
|
||||||
a Bourne-compatible shell, you can do that on the command line like
|
a Bourne-compatible shell, you can do that on the command line like
|
||||||
this:
|
this:
|
||||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||||
|
|
||||||
Or on systems that have the `env' program, you can do it like this:
|
Or on systems that have the `env' program, you can do it like this:
|
||||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
Compiling For Multiple Architectures
|
||||||
====================================
|
====================================
|
||||||
|
|
||||||
You can compile the package for more than one kind of computer at the
|
You can compile the package for more than one kind of computer at the
|
||||||
same time, by placing the object files for each architecture in their
|
same time, by placing the object files for each architecture in their
|
||||||
own directory. To do this, you must use a version of `make' that
|
own directory. To do this, you must use a version of `make' that
|
||||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||||
directory where you want the object files and executables to go and run
|
directory where you want the object files and executables to go and run
|
||||||
the `configure' script. `configure' automatically checks for the
|
the `configure' script. `configure' automatically checks for the
|
||||||
source code in the directory that `configure' is in and in `..'.
|
source code in the directory that `configure' is in and in `..'.
|
||||||
|
|
||||||
If you have to use a `make' that does not supports the `VPATH'
|
If you have to use a `make' that does not supports the `VPATH'
|
||||||
variable, you have to compile the package for one architecture at a time
|
variable, you have to compile the package for one architecture at a time
|
||||||
in the source code directory. After you have installed the package for
|
in the source code directory. After you have installed the package for
|
||||||
one architecture, use `make distclean' before reconfiguring for another
|
one architecture, use `make distclean' before reconfiguring for another
|
||||||
architecture.
|
architecture.
|
||||||
|
|
||||||
Installation Names
|
Installation Names
|
||||||
==================
|
==================
|
||||||
|
|
||||||
By default, `make install' will install the package's files in
|
By default, `make install' will install the package's files in
|
||||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||||
installation prefix other than `/usr/local' by giving `configure' the
|
installation prefix other than `/usr/local' by giving `configure' the
|
||||||
option `--prefix=PATH'.
|
option `--prefix=PATH'.
|
||||||
|
|
||||||
You can specify separate installation prefixes for
|
You can specify separate installation prefixes for
|
||||||
architecture-specific files and architecture-independent files. If you
|
architecture-specific files and architecture-independent files. If you
|
||||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||||
PATH as the prefix for installing programs and libraries.
|
PATH as the prefix for installing programs and libraries.
|
||||||
Documentation and other data files will still use the regular prefix.
|
Documentation and other data files will still use the regular prefix.
|
||||||
|
|
||||||
In addition, if you use an unusual directory layout you can give
|
In addition, if you use an unusual directory layout you can give
|
||||||
options like `--bindir=PATH' to specify different values for particular
|
options like `--bindir=PATH' to specify different values for particular
|
||||||
kinds of files. Run `configure --help' for a list of the directories
|
kinds of files. Run `configure --help' for a list of the directories
|
||||||
you can set and what kinds of files go in them.
|
you can set and what kinds of files go in them.
|
||||||
|
|
||||||
If the package supports it, you can cause programs to be installed
|
If the package supports it, you can cause programs to be installed
|
||||||
with an extra prefix or suffix on their names by giving `configure' the
|
with an extra prefix or suffix on their names by giving `configure' the
|
||||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||||
|
|
||||||
Optional Features
|
Optional Features
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Some packages pay attention to `--enable-FEATURE' options to
|
Some packages pay attention to `--enable-FEATURE' options to
|
||||||
`configure', where FEATURE indicates an optional part of the package.
|
`configure', where FEATURE indicates an optional part of the package.
|
||||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||||
is something like `gnu-as' or `x' (for the X Window System). The
|
is something like `gnu-as' or `x' (for the X Window System). The
|
||||||
`README' should mention any `--enable-' and `--with-' options that the
|
`README' should mention any `--enable-' and `--with-' options that the
|
||||||
package recognizes.
|
package recognizes.
|
||||||
|
|
||||||
For packages that use the X Window System, `configure' can usually
|
For packages that use the X Window System, `configure' can usually
|
||||||
find the X include and library files automatically, but if it doesn't,
|
find the X include and library files automatically, but if it doesn't,
|
||||||
you can use the `configure' options `--x-includes=DIR' and
|
you can use the `configure' options `--x-includes=DIR' and
|
||||||
`--x-libraries=DIR' to specify their locations.
|
`--x-libraries=DIR' to specify their locations.
|
||||||
|
|
||||||
Specifying the System Type
|
Specifying the System Type
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
There may be some features `configure' can not figure out
|
There may be some features `configure' can not figure out
|
||||||
automatically, but needs to determine by the type of host the package
|
automatically, but needs to determine by the type of host the package
|
||||||
will run on. Usually `configure' can figure that out, but if it prints
|
will run on. Usually `configure' can figure that out, but if it prints
|
||||||
a message saying it can not guess the host type, give it the
|
a message saying it can not guess the host type, give it the
|
||||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||||
type, such as `sun4', or a canonical name with three fields:
|
type, such as `sun4', or a canonical name with three fields:
|
||||||
CPU-COMPANY-SYSTEM
|
CPU-COMPANY-SYSTEM
|
||||||
|
|
||||||
See the file `config.sub' for the possible values of each field. If
|
See the file `config.sub' for the possible values of each field. If
|
||||||
`config.sub' isn't included in this package, then this package doesn't
|
`config.sub' isn't included in this package, then this package doesn't
|
||||||
need to know the host type.
|
need to know the host type.
|
||||||
|
|
||||||
If you are building compiler tools for cross-compiling, you can also
|
If you are building compiler tools for cross-compiling, you can also
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
use the `--target=TYPE' option to select the type of system they will
|
||||||
produce code for and the `--build=TYPE' option to select the type of
|
produce code for and the `--build=TYPE' option to select the type of
|
||||||
system on which you are compiling the package.
|
system on which you are compiling the package.
|
||||||
|
|
||||||
Sharing Defaults
|
Sharing Defaults
|
||||||
================
|
================
|
||||||
|
|
||||||
If you want to set default values for `configure' scripts to share,
|
If you want to set default values for `configure' scripts to share,
|
||||||
you can create a site shell script called `config.site' that gives
|
you can create a site shell script called `config.site' that gives
|
||||||
default values for variables like `CC', `cache_file', and `prefix'.
|
default values for variables like `CC', `cache_file', and `prefix'.
|
||||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
A warning: not all `configure' scripts look for a site script.
|
A warning: not all `configure' scripts look for a site script.
|
||||||
|
|
||||||
Operation Controls
|
Operation Controls
|
||||||
==================
|
==================
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it
|
`configure' recognizes the following options to control how it
|
||||||
operates.
|
operates.
|
||||||
|
|
||||||
`--cache-file=FILE'
|
`--cache-file=FILE'
|
||||||
Use and save the results of the tests in FILE instead of
|
Use and save the results of the tests in FILE instead of
|
||||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||||
debugging `configure'.
|
debugging `configure'.
|
||||||
|
|
||||||
`--help'
|
`--help'
|
||||||
Print a summary of the options to `configure', and exit.
|
Print a summary of the options to `configure', and exit.
|
||||||
|
|
||||||
`--quiet'
|
`--quiet'
|
||||||
`--silent'
|
`--silent'
|
||||||
`-q'
|
`-q'
|
||||||
Do not print messages saying which checks are being made. To
|
Do not print messages saying which checks are being made. To
|
||||||
suppress all normal output, redirect it to `/dev/null' (any error
|
suppress all normal output, redirect it to `/dev/null' (any error
|
||||||
messages will still be shown).
|
messages will still be shown).
|
||||||
|
|
||||||
`--srcdir=DIR'
|
`--srcdir=DIR'
|
||||||
Look for the package's source code in directory DIR. Usually
|
Look for the package's source code in directory DIR. Usually
|
||||||
`configure' can determine that directory automatically.
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
`--version'
|
`--version'
|
||||||
Print the version of Autoconf used to generate the `configure'
|
Print the version of Autoconf used to generate the `configure'
|
||||||
script, and exit.
|
script, and exit.
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options.
|
`configure' also accepts some other, not widely useful, options.
|
||||||
|
|||||||
720
Makefile
720
Makefile
@@ -1,360 +1,360 @@
|
|||||||
# Generated automatically from Makefile.in by configure.
|
# Generated automatically from Makefile.in by configure.
|
||||||
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
top_srcdir = .
|
top_srcdir = .
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
exec_prefix = ${prefix}
|
exec_prefix = ${prefix}
|
||||||
|
|
||||||
bindir = ${exec_prefix}/bin
|
bindir = ${exec_prefix}/bin
|
||||||
sbindir = ${exec_prefix}/sbin
|
sbindir = ${exec_prefix}/sbin
|
||||||
libexecdir = ${exec_prefix}/libexec
|
libexecdir = ${exec_prefix}/libexec
|
||||||
datadir = ${prefix}/share
|
datadir = ${prefix}/share
|
||||||
sysconfdir = ${prefix}/etc
|
sysconfdir = ${prefix}/etc
|
||||||
sharedstatedir = ${prefix}/com
|
sharedstatedir = ${prefix}/com
|
||||||
localstatedir = ${prefix}/var
|
localstatedir = ${prefix}/var
|
||||||
libdir = ${exec_prefix}/lib
|
libdir = ${exec_prefix}/lib
|
||||||
infodir = ${prefix}/info
|
infodir = ${prefix}/info
|
||||||
mandir = ${prefix}/man
|
mandir = ${prefix}/man
|
||||||
includedir = ${prefix}/include
|
includedir = ${prefix}/include
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/xlhtml/xlhtml
|
pkgdatadir = $(datadir)/xlhtml/xlhtml
|
||||||
pkglibdir = $(libdir)/xlhtml/xlhtml
|
pkglibdir = $(libdir)/xlhtml/xlhtml
|
||||||
pkgincludedir = $(includedir)/xlhtml/xlhtml
|
pkgincludedir = $(includedir)/xlhtml/xlhtml
|
||||||
|
|
||||||
top_builddir = .
|
top_builddir = .
|
||||||
|
|
||||||
ACLOCAL = aclocal
|
ACLOCAL = aclocal
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
AUTOMAKE = automake
|
AUTOMAKE = automake
|
||||||
AUTOHEADER = autoheader
|
AUTOHEADER = autoheader
|
||||||
|
|
||||||
INSTALL = /usr/bin/install -c
|
INSTALL = /usr/bin/install -c
|
||||||
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
|
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
|
||||||
INSTALL_DATA = ${INSTALL} -m 644
|
INSTALL_DATA = ${INSTALL} -m 644
|
||||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||||
transform = s,x,x,
|
transform = s,x,x,
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = x86_64-unknown-linux-gnu
|
host_alias = x86_64-unknown-linux-gnu
|
||||||
host_triplet =
|
host_triplet =
|
||||||
CC = gcc
|
CC = gcc
|
||||||
COLE_MAJOR = 2
|
COLE_MAJOR = 2
|
||||||
COLE_MICRO = 2
|
COLE_MICRO = 2
|
||||||
COLE_MINOR = 0
|
COLE_MINOR = 0
|
||||||
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
|
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
|
||||||
HOST_CANONICAL_NAME =
|
HOST_CANONICAL_NAME =
|
||||||
HOST_CPU =
|
HOST_CPU =
|
||||||
HOST_OS =
|
HOST_OS =
|
||||||
HOST_VENDOR =
|
HOST_VENDOR =
|
||||||
MAKEINFO = makeinfo
|
MAKEINFO = makeinfo
|
||||||
PACKAGE = xlhtml/xlhtml
|
PACKAGE = xlhtml/xlhtml
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
VERSION = 0.5
|
VERSION = 0.5
|
||||||
|
|
||||||
SUBDIRS = cole xlhtml ppthtml
|
SUBDIRS = cole xlhtml ppthtml
|
||||||
EXTRA_DIST = README-xlhtml README-ppthtml
|
EXTRA_DIST = README-xlhtml README-ppthtml
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = config.h
|
CONFIG_HEADER = config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING INSTALL Makefile.am \
|
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING INSTALL Makefile.am \
|
||||||
Makefile.in NEWS aclocal.m4 config.guess config.h.in config.sub \
|
Makefile.in NEWS aclocal.m4 config.guess config.h.in config.sub \
|
||||||
configure configure.in install-sh missing mkinstalldirs
|
configure configure.in install-sh missing mkinstalldirs
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = tar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
$(ACLOCAL_M4): configure.in
|
$(ACLOCAL_M4): configure.in
|
||||||
cd $(srcdir) && $(ACLOCAL)
|
cd $(srcdir) && $(ACLOCAL)
|
||||||
|
|
||||||
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
|
config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
config.h: stamp-h
|
config.h: stamp-h
|
||||||
@if test ! -f $@; then \
|
@if test ! -f $@; then \
|
||||||
rm -f stamp-h; \
|
rm -f stamp-h; \
|
||||||
$(MAKE) stamp-h; \
|
$(MAKE) stamp-h; \
|
||||||
else :; fi
|
else :; fi
|
||||||
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
||||||
$(SHELL) ./config.status
|
$(SHELL) ./config.status
|
||||||
@echo timestamp > stamp-h 2> /dev/null
|
@echo timestamp > stamp-h 2> /dev/null
|
||||||
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
||||||
@if test ! -f $@; then \
|
@if test ! -f $@; then \
|
||||||
rm -f $(srcdir)/stamp-h.in; \
|
rm -f $(srcdir)/stamp-h.in; \
|
||||||
$(MAKE) $(srcdir)/stamp-h.in; \
|
$(MAKE) $(srcdir)/stamp-h.in; \
|
||||||
else :; fi
|
else :; fi
|
||||||
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOHEADER)
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
||||||
|
|
||||||
mostlyclean-hdr:
|
mostlyclean-hdr:
|
||||||
|
|
||||||
clean-hdr:
|
clean-hdr:
|
||||||
|
|
||||||
distclean-hdr:
|
distclean-hdr:
|
||||||
-rm -f config.h
|
-rm -f config.h
|
||||||
|
|
||||||
maintainer-clean-hdr:
|
maintainer-clean-hdr:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
# into them and run `make' without going through this Makefile.
|
# into them and run `make' without going through this Makefile.
|
||||||
# To change the values of `make' variables: instead of editing Makefiles,
|
# To change the values of `make' variables: instead of editing Makefiles,
|
||||||
# (1) if the variable is set in `config.status', edit `config.status'
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
# (2) otherwise, pass the desired values on the `make' command line.
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
all-recursive install-data-recursive install-exec-recursive \
|
all-recursive install-data-recursive install-exec-recursive \
|
||||||
installdirs-recursive install-recursive uninstall-recursive \
|
installdirs-recursive install-recursive uninstall-recursive \
|
||||||
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
if test "$$subdir" = "."; then \
|
if test "$$subdir" = "."; then \
|
||||||
dot_seen=yes; \
|
dot_seen=yes; \
|
||||||
local_target="$$target-am"; \
|
local_target="$$target-am"; \
|
||||||
else \
|
else \
|
||||||
local_target="$$target"; \
|
local_target="$$target"; \
|
||||||
fi; \
|
fi; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done; \
|
done; \
|
||||||
if test "$$dot_seen" = "no"; then \
|
if test "$$dot_seen" = "no"; then \
|
||||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
fi; test -z "$$fail"
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
maintainer-clean-recursive:
|
maintainer-clean-recursive:
|
||||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||||
dot_seen=no; \
|
dot_seen=no; \
|
||||||
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
rev="$$subdir $$rev"; \
|
rev="$$subdir $$rev"; \
|
||||||
test "$$subdir" = "." && dot_seen=yes; \
|
test "$$subdir" = "." && dot_seen=yes; \
|
||||||
done; \
|
done; \
|
||||||
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
||||||
target=`echo $@ | sed s/-recursive//`; \
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
for subdir in $$rev; do \
|
for subdir in $$rev; do \
|
||||||
echo "Making $$target in $$subdir"; \
|
echo "Making $$target in $$subdir"; \
|
||||||
if test "$$subdir" = "."; then \
|
if test "$$subdir" = "."; then \
|
||||||
local_target="$$target-am"; \
|
local_target="$$target-am"; \
|
||||||
else \
|
else \
|
||||||
local_target="$$target"; \
|
local_target="$$target"; \
|
||||||
fi; \
|
fi; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
done && test -z "$$fail"
|
done && test -z "$$fail"
|
||||||
tags-recursive:
|
tags-recursive:
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||||
done
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $$unique $(LISP)
|
||||||
|
|
||||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
||||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
|
||||||
|
|
||||||
mostlyclean-tags:
|
mostlyclean-tags:
|
||||||
|
|
||||||
clean-tags:
|
clean-tags:
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID
|
||||||
|
|
||||||
maintainer-clean-tags:
|
maintainer-clean-tags:
|
||||||
|
|
||||||
distdir = $(PACKAGE)-$(VERSION)
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
top_distdir = $(distdir)
|
top_distdir = $(distdir)
|
||||||
|
|
||||||
# This target untars the dist file and tries a VPATH configuration. Then
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
# it guarantees that the distribution is self-contained by making another
|
# it guarantees that the distribution is self-contained by making another
|
||||||
# tarfile.
|
# tarfile.
|
||||||
distcheck: dist
|
distcheck: dist
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
||||||
mkdir $(distdir)/=build
|
mkdir $(distdir)/=build
|
||||||
mkdir $(distdir)/=inst
|
mkdir $(distdir)/=inst
|
||||||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||||
cd $(distdir)/=build \
|
cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
@banner="$(distdir).tar.gz is ready for distribution"; \
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
||||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
echo "$$banner"; \
|
echo "$$banner"; \
|
||||||
echo "$$dashes"
|
echo "$$dashes"
|
||||||
dist: distdir
|
dist: distdir
|
||||||
-chmod -R a+r $(distdir)
|
-chmod -R a+r $(distdir)
|
||||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
dist-all: distdir
|
dist-all: distdir
|
||||||
-chmod -R a+r $(distdir)
|
-chmod -R a+r $(distdir)
|
||||||
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
-rm -rf $(distdir)
|
-rm -rf $(distdir)
|
||||||
mkdir $(distdir)
|
mkdir $(distdir)
|
||||||
-chmod 777 $(distdir)
|
-chmod 777 $(distdir)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
for subdir in $(SUBDIRS); do \
|
for subdir in $(SUBDIRS); do \
|
||||||
if test "$$subdir" = .; then :; else \
|
if test "$$subdir" = .; then :; else \
|
||||||
test -d $(distdir)/$$subdir \
|
test -d $(distdir)/$$subdir \
|
||||||
|| mkdir $(distdir)/$$subdir \
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
chmod 777 $(distdir)/$$subdir; \
|
chmod 777 $(distdir)/$$subdir; \
|
||||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||||
|| exit 1; \
|
|| exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
info-am:
|
info-am:
|
||||||
info: info-recursive
|
info: info-recursive
|
||||||
dvi-am:
|
dvi-am:
|
||||||
dvi: dvi-recursive
|
dvi: dvi-recursive
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-recursive
|
check: check-recursive
|
||||||
installcheck-am:
|
installcheck-am:
|
||||||
installcheck: installcheck-recursive
|
installcheck: installcheck-recursive
|
||||||
all-recursive-am: config.h
|
all-recursive-am: config.h
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
|
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
install-exec: install-exec-recursive
|
install-exec: install-exec-recursive
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
install-data: install-data-recursive
|
install-data: install-data-recursive
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-recursive
|
install: install-recursive
|
||||||
uninstall-am:
|
uninstall-am:
|
||||||
uninstall: uninstall-recursive
|
uninstall: uninstall-recursive
|
||||||
all-am: Makefile config.h
|
all-am: Makefile config.h
|
||||||
all-redirect: all-recursive-am
|
all-redirect: all-recursive-am
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||||
installdirs: installdirs-recursive
|
installdirs: installdirs-recursive
|
||||||
installdirs-am:
|
installdirs-am:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-recursive
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
|
||||||
|
|
||||||
clean: clean-recursive
|
clean: clean-recursive
|
||||||
|
|
||||||
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
|
||||||
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
-rm -f config.status
|
-rm -f config.status
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
|
||||||
maintainer-clean-generic distclean-am
|
maintainer-clean-generic distclean-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-recursive
|
maintainer-clean: maintainer-clean-recursive
|
||||||
-rm -f config.status
|
-rm -f config.status
|
||||||
|
|
||||||
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
|
||||||
install-data-recursive uninstall-data-recursive install-exec-recursive \
|
install-data-recursive uninstall-data-recursive install-exec-recursive \
|
||||||
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
|
||||||
all-recursive check-recursive installcheck-recursive info-recursive \
|
all-recursive check-recursive installcheck-recursive info-recursive \
|
||||||
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
|
||||||
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||||
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
|
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
|
||||||
install-exec-am install-exec install-data-am install-data install-am \
|
install-exec-am install-exec install-data-am install-data install-am \
|
||||||
install uninstall-am uninstall all-redirect all-am all installdirs-am \
|
install uninstall-am uninstall all-redirect all-am all installdirs-am \
|
||||||
installdirs mostlyclean-generic distclean-generic clean-generic \
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
SUBDIRS = cole xlhtml ppthtml
|
SUBDIRS = cole xlhtml ppthtml
|
||||||
EXTRA_DIST = README-xlhtml README-ppthtml
|
EXTRA_DIST = README-xlhtml README-ppthtml
|
||||||
|
|
||||||
|
|||||||
50
Makefile.bc
50
Makefile.bc
@@ -1,26 +1,26 @@
|
|||||||
all: config.h
|
all: config.h
|
||||||
cd cole
|
cd cole
|
||||||
$(MAKE) -f Makefile.bc all
|
$(MAKE) -f Makefile.bc all
|
||||||
cd ..\xlhtml
|
cd ..\xlhtml
|
||||||
$(MAKE) -f Makefile.bc all
|
$(MAKE) -f Makefile.bc all
|
||||||
cd ..\ppthtml
|
cd ..\ppthtml
|
||||||
$(MAKE) -f Makefile.bc all
|
$(MAKE) -f Makefile.bc all
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-del config.h
|
-del config.h
|
||||||
cd cole
|
cd cole
|
||||||
$(MAKE) -f Makefile.bc clean
|
$(MAKE) -f Makefile.bc clean
|
||||||
cd ..\xlhtml
|
cd ..\xlhtml
|
||||||
$(MAKE) -f Makefile.bc clean
|
$(MAKE) -f Makefile.bc clean
|
||||||
cd ..\ppthtml
|
cd ..\ppthtml
|
||||||
$(MAKE) -f Makefile.bc clean
|
$(MAKE) -f Makefile.bc clean
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
config.h: config.h.in
|
config.h: config.h.in
|
||||||
copy $? $@
|
copy $? $@
|
||||||
type &&|
|
type &&|
|
||||||
\#define VERSION "0.5"
|
\#define VERSION "0.5"
|
||||||
| >> $@
|
| >> $@
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
1572
Makefile.in
1572
Makefile.in
File diff suppressed because it is too large
Load Diff
46
Makefile.vc
46
Makefile.vc
@@ -1,24 +1,24 @@
|
|||||||
all: config.h
|
all: config.h
|
||||||
cd cole
|
cd cole
|
||||||
$(MAKE) -f Makefile.vc all
|
$(MAKE) -f Makefile.vc all
|
||||||
cd ..\xlhtml
|
cd ..\xlhtml
|
||||||
$(MAKE) -f Makefile.vc all
|
$(MAKE) -f Makefile.vc all
|
||||||
cd ..\ppthtml
|
cd ..\ppthtml
|
||||||
$(MAKE) -f Makefile.vc all
|
$(MAKE) -f Makefile.vc all
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-del config.h
|
-del config.h
|
||||||
cd cole
|
cd cole
|
||||||
$(MAKE) -f Makefile.vc clean
|
$(MAKE) -f Makefile.vc clean
|
||||||
cd ..\xlhtml
|
cd ..\xlhtml
|
||||||
$(MAKE) -f Makefile.vc clean
|
$(MAKE) -f Makefile.vc clean
|
||||||
cd ..\ppthtml
|
cd ..\ppthtml
|
||||||
$(MAKE) -f Makefile.vc clean
|
$(MAKE) -f Makefile.vc clean
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
config.h: config.h.in
|
config.h: config.h.in
|
||||||
copy $? $@
|
copy $? $@
|
||||||
echo #define VERSION "0.5" >> $@
|
echo #define VERSION "0.5" >> $@
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
2362
aclocal.m4
vendored
2362
aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
13552
autom4te.cache/output.0
13552
autom4te.cache/output.0
File diff suppressed because it is too large
Load Diff
13552
autom4te.cache/output.1
13552
autom4te.cache/output.1
File diff suppressed because it is too large
Load Diff
16938
autom4te.cache/output.2
16938
autom4te.cache/output.2
File diff suppressed because it is too large
Load Diff
16938
autom4te.cache/output.3
16938
autom4te.cache/output.3
File diff suppressed because it is too large
Load Diff
@@ -1,313 +1,313 @@
|
|||||||
# This file was generated by Autom4te Sun Aug 20 23:09:08 UTC 2017.
|
# This file was generated by Autom4te Sun Aug 20 23:09:08 UTC 2017.
|
||||||
# It contains the lists of macros which have been traced.
|
# It contains the lists of macros which have been traced.
|
||||||
# It can be safely removed.
|
# It can be safely removed.
|
||||||
|
|
||||||
@request = (
|
@request = (
|
||||||
bless( [
|
bless( [
|
||||||
'0',
|
'0',
|
||||||
1,
|
1,
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf'
|
'/usr/share/autoconf'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
'-',
|
'-',
|
||||||
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
|
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
|
||||||
'/usr/share/aclocal-1.15/amversion.m4',
|
'/usr/share/aclocal-1.15/amversion.m4',
|
||||||
'/usr/share/aclocal-1.15/auxdir.m4',
|
'/usr/share/aclocal-1.15/auxdir.m4',
|
||||||
'/usr/share/aclocal-1.15/cond.m4',
|
'/usr/share/aclocal-1.15/cond.m4',
|
||||||
'/usr/share/aclocal-1.15/depend.m4',
|
'/usr/share/aclocal-1.15/depend.m4',
|
||||||
'/usr/share/aclocal-1.15/depout.m4',
|
'/usr/share/aclocal-1.15/depout.m4',
|
||||||
'/usr/share/aclocal-1.15/init.m4',
|
'/usr/share/aclocal-1.15/init.m4',
|
||||||
'/usr/share/aclocal-1.15/install-sh.m4',
|
'/usr/share/aclocal-1.15/install-sh.m4',
|
||||||
'/usr/share/aclocal-1.15/lead-dot.m4',
|
'/usr/share/aclocal-1.15/lead-dot.m4',
|
||||||
'/usr/share/aclocal-1.15/make.m4',
|
'/usr/share/aclocal-1.15/make.m4',
|
||||||
'/usr/share/aclocal-1.15/missing.m4',
|
'/usr/share/aclocal-1.15/missing.m4',
|
||||||
'/usr/share/aclocal-1.15/obsolete.m4',
|
'/usr/share/aclocal-1.15/obsolete.m4',
|
||||||
'/usr/share/aclocal-1.15/options.m4',
|
'/usr/share/aclocal-1.15/options.m4',
|
||||||
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
|
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
|
||||||
'/usr/share/aclocal-1.15/runlog.m4',
|
'/usr/share/aclocal-1.15/runlog.m4',
|
||||||
'/usr/share/aclocal-1.15/sanity.m4',
|
'/usr/share/aclocal-1.15/sanity.m4',
|
||||||
'/usr/share/aclocal-1.15/silent.m4',
|
'/usr/share/aclocal-1.15/silent.m4',
|
||||||
'/usr/share/aclocal-1.15/strip.m4',
|
'/usr/share/aclocal-1.15/strip.m4',
|
||||||
'/usr/share/aclocal-1.15/substnot.m4',
|
'/usr/share/aclocal-1.15/substnot.m4',
|
||||||
'/usr/share/aclocal-1.15/tar.m4',
|
'/usr/share/aclocal-1.15/tar.m4',
|
||||||
'configure.in'
|
'configure.in'
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
'AM_PROG_CC_STDC' => 1,
|
'AM_PROG_CC_STDC' => 1,
|
||||||
'_AM_MANGLE_OPTION' => 1,
|
'_AM_MANGLE_OPTION' => 1,
|
||||||
'AM_RUN_LOG' => 1,
|
'AM_RUN_LOG' => 1,
|
||||||
'm4_pattern_forbid' => 1,
|
'm4_pattern_forbid' => 1,
|
||||||
'_m4_warn' => 1,
|
'_m4_warn' => 1,
|
||||||
'AM_AUTOMAKE_VERSION' => 1,
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||||
'AM_SANITY_CHECK' => 1,
|
'AM_SANITY_CHECK' => 1,
|
||||||
'AM_MISSING_HAS_RUN' => 1,
|
'AM_MISSING_HAS_RUN' => 1,
|
||||||
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
'AM_SET_DEPDIR' => 1,
|
'AM_SET_DEPDIR' => 1,
|
||||||
'AM_SILENT_RULES' => 1,
|
'AM_SILENT_RULES' => 1,
|
||||||
'_AM_SET_OPTIONS' => 1,
|
'_AM_SET_OPTIONS' => 1,
|
||||||
'AM_AUX_DIR_EXPAND' => 1,
|
'AM_AUX_DIR_EXPAND' => 1,
|
||||||
'_AM_PROG_CC_C_O' => 1,
|
'_AM_PROG_CC_C_O' => 1,
|
||||||
'AM_SET_LEADING_DOT' => 1,
|
'AM_SET_LEADING_DOT' => 1,
|
||||||
'AM_MAKE_INCLUDE' => 1,
|
'AM_MAKE_INCLUDE' => 1,
|
||||||
'_AM_DEPENDENCIES' => 1,
|
'_AM_DEPENDENCIES' => 1,
|
||||||
'AU_DEFUN' => 1,
|
'AU_DEFUN' => 1,
|
||||||
'_AM_SET_OPTION' => 1,
|
'_AM_SET_OPTION' => 1,
|
||||||
'AM_CONFIG_HEADER' => 1,
|
'AM_CONFIG_HEADER' => 1,
|
||||||
'AM_C_PROTOTYPES' => 1,
|
'AM_C_PROTOTYPES' => 1,
|
||||||
'AM_PROG_CC_C_O' => 1,
|
'AM_PROG_CC_C_O' => 1,
|
||||||
'AC_CONFIG_MACRO_DIR' => 1,
|
'AC_CONFIG_MACRO_DIR' => 1,
|
||||||
'AM_SUBST_NOTMAKE' => 1,
|
'AM_SUBST_NOTMAKE' => 1,
|
||||||
'AM_PROG_INSTALL_SH' => 1,
|
'AM_PROG_INSTALL_SH' => 1,
|
||||||
'fp_C_PROTOTYPES' => 1,
|
'fp_C_PROTOTYPES' => 1,
|
||||||
'_AM_PROG_TAR' => 1,
|
'_AM_PROG_TAR' => 1,
|
||||||
'_AM_AUTOCONF_VERSION' => 1,
|
'_AM_AUTOCONF_VERSION' => 1,
|
||||||
'_AM_SUBST_NOTMAKE' => 1,
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
'm4_pattern_allow' => 1,
|
'm4_pattern_allow' => 1,
|
||||||
'_AM_CONFIG_MACRO_DIRS' => 1,
|
'_AM_CONFIG_MACRO_DIRS' => 1,
|
||||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
'AM_PROG_INSTALL_STRIP' => 1,
|
'AM_PROG_INSTALL_STRIP' => 1,
|
||||||
'AM_MISSING_PROG' => 1,
|
'AM_MISSING_PROG' => 1,
|
||||||
'include' => 1,
|
'include' => 1,
|
||||||
'_AM_IF_OPTION' => 1,
|
'_AM_IF_OPTION' => 1,
|
||||||
'AC_DEFUN_ONCE' => 1,
|
'AC_DEFUN_ONCE' => 1,
|
||||||
'AM_INIT_AUTOMAKE' => 1,
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
'm4_include' => 1,
|
'm4_include' => 1,
|
||||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
'AC_DEFUN' => 1,
|
'AC_DEFUN' => 1,
|
||||||
'AM_CONDITIONAL' => 1,
|
'AM_CONDITIONAL' => 1,
|
||||||
'AM_DEP_TRACK' => 1
|
'AM_DEP_TRACK' => 1
|
||||||
}
|
}
|
||||||
], 'Autom4te::Request' ),
|
], 'Autom4te::Request' ),
|
||||||
bless( [
|
bless( [
|
||||||
'1',
|
'1',
|
||||||
1,
|
1,
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf'
|
'/usr/share/autoconf'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
'aclocal.m4',
|
'aclocal.m4',
|
||||||
'configure.in'
|
'configure.in'
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
'AC_REQUIRE_AUX_FILE' => 1,
|
'AC_REQUIRE_AUX_FILE' => 1,
|
||||||
'AM_PROG_MOC' => 1,
|
'AM_PROG_MOC' => 1,
|
||||||
'AC_SUBST_TRACE' => 1,
|
'AC_SUBST_TRACE' => 1,
|
||||||
'AC_FC_PP_SRCEXT' => 1,
|
'AC_FC_PP_SRCEXT' => 1,
|
||||||
'AC_INIT' => 1,
|
'AC_INIT' => 1,
|
||||||
'_AM_COND_ELSE' => 1,
|
'_AM_COND_ELSE' => 1,
|
||||||
'AC_CANONICAL_HOST' => 1,
|
'AC_CANONICAL_HOST' => 1,
|
||||||
'AM_PROG_LIBTOOL' => 1,
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
'AC_LIBSOURCE' => 1,
|
'AC_LIBSOURCE' => 1,
|
||||||
'AM_PROG_CC_C_O' => 1,
|
'AM_PROG_CC_C_O' => 1,
|
||||||
'AM_PATH_GUILE' => 1,
|
'AM_PATH_GUILE' => 1,
|
||||||
'AC_CONFIG_SUBDIRS' => 1,
|
'AC_CONFIG_SUBDIRS' => 1,
|
||||||
'LT_CONFIG_LTDL_DIR' => 1,
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||||
'_AM_SUBST_NOTMAKE' => 1,
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
'_AM_COND_IF' => 1,
|
'_AM_COND_IF' => 1,
|
||||||
'AC_CONFIG_AUX_DIR' => 1,
|
'AC_CONFIG_AUX_DIR' => 1,
|
||||||
'm4_pattern_allow' => 1,
|
'm4_pattern_allow' => 1,
|
||||||
'sinclude' => 1,
|
'sinclude' => 1,
|
||||||
'LT_SUPPORTED_TAG' => 1,
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
'include' => 1,
|
'include' => 1,
|
||||||
'AC_CONFIG_LINKS' => 1,
|
'AC_CONFIG_LINKS' => 1,
|
||||||
'AC_FC_PP_DEFINE' => 1,
|
'AC_FC_PP_DEFINE' => 1,
|
||||||
'LT_INIT' => 1,
|
'LT_INIT' => 1,
|
||||||
'AM_GNU_GETTEXT' => 1,
|
'AM_GNU_GETTEXT' => 1,
|
||||||
'AM_INIT_AUTOMAKE' => 1,
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
'm4_include' => 1,
|
'm4_include' => 1,
|
||||||
'AC_PROG_LIBTOOL' => 1,
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
'_AM_MAKEFILE_INCLUDE' => 1,
|
'_AM_MAKEFILE_INCLUDE' => 1,
|
||||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||||
'AM_CONDITIONAL' => 1,
|
'AM_CONDITIONAL' => 1,
|
||||||
'AC_SUBST' => 1,
|
'AC_SUBST' => 1,
|
||||||
'AM_PROG_CXX_C_O' => 1,
|
'AM_PROG_CXX_C_O' => 1,
|
||||||
'AM_PROG_AR' => 1,
|
'AM_PROG_AR' => 1,
|
||||||
'AM_POT_TOOLS' => 1,
|
'AM_POT_TOOLS' => 1,
|
||||||
'AC_CONFIG_HEADERS' => 1,
|
'AC_CONFIG_HEADERS' => 1,
|
||||||
'AH_OUTPUT' => 1,
|
'AH_OUTPUT' => 1,
|
||||||
'AM_MAINTAINER_MODE' => 1,
|
'AM_MAINTAINER_MODE' => 1,
|
||||||
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
||||||
'AM_MAKEFILE_INCLUDE' => 1,
|
'AM_MAKEFILE_INCLUDE' => 1,
|
||||||
'm4_pattern_forbid' => 1,
|
'm4_pattern_forbid' => 1,
|
||||||
'AC_CANONICAL_TARGET' => 1,
|
'AC_CANONICAL_TARGET' => 1,
|
||||||
'_m4_warn' => 1,
|
'_m4_warn' => 1,
|
||||||
'AM_AUTOMAKE_VERSION' => 1,
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
'AC_CANONICAL_SYSTEM' => 1,
|
'AC_CANONICAL_SYSTEM' => 1,
|
||||||
'_LT_AC_TAGCONFIG' => 1,
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
'AM_PROG_F77_C_O' => 1,
|
'AM_PROG_F77_C_O' => 1,
|
||||||
'_AM_COND_ENDIF' => 1,
|
'_AM_COND_ENDIF' => 1,
|
||||||
'AM_PROG_FC_C_O' => 1,
|
'AM_PROG_FC_C_O' => 1,
|
||||||
'AM_XGETTEXT_OPTION' => 1,
|
'AM_XGETTEXT_OPTION' => 1,
|
||||||
'AM_ENABLE_MULTILIB' => 1,
|
'AM_ENABLE_MULTILIB' => 1,
|
||||||
'm4_sinclude' => 1,
|
'm4_sinclude' => 1,
|
||||||
'AC_CANONICAL_BUILD' => 1,
|
'AC_CANONICAL_BUILD' => 1,
|
||||||
'AC_CONFIG_FILES' => 1,
|
'AC_CONFIG_FILES' => 1,
|
||||||
'AM_SILENT_RULES' => 1,
|
'AM_SILENT_RULES' => 1,
|
||||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||||
'AM_PROG_MKDIR_P' => 1,
|
'AM_PROG_MKDIR_P' => 1,
|
||||||
'AC_FC_FREEFORM' => 1,
|
'AC_FC_FREEFORM' => 1,
|
||||||
'AM_NLS' => 1,
|
'AM_NLS' => 1,
|
||||||
'AC_FC_SRCEXT' => 1
|
'AC_FC_SRCEXT' => 1
|
||||||
}
|
}
|
||||||
], 'Autom4te::Request' ),
|
], 'Autom4te::Request' ),
|
||||||
bless( [
|
bless( [
|
||||||
'2',
|
'2',
|
||||||
1,
|
1,
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf'
|
'/usr/share/autoconf'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
'-',
|
'-',
|
||||||
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
|
'/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
|
||||||
'/usr/share/aclocal-1.15/amversion.m4',
|
'/usr/share/aclocal-1.15/amversion.m4',
|
||||||
'/usr/share/aclocal-1.15/auxdir.m4',
|
'/usr/share/aclocal-1.15/auxdir.m4',
|
||||||
'/usr/share/aclocal-1.15/cond.m4',
|
'/usr/share/aclocal-1.15/cond.m4',
|
||||||
'/usr/share/aclocal-1.15/depend.m4',
|
'/usr/share/aclocal-1.15/depend.m4',
|
||||||
'/usr/share/aclocal-1.15/depout.m4',
|
'/usr/share/aclocal-1.15/depout.m4',
|
||||||
'/usr/share/aclocal-1.15/init.m4',
|
'/usr/share/aclocal-1.15/init.m4',
|
||||||
'/usr/share/aclocal-1.15/install-sh.m4',
|
'/usr/share/aclocal-1.15/install-sh.m4',
|
||||||
'/usr/share/aclocal-1.15/lead-dot.m4',
|
'/usr/share/aclocal-1.15/lead-dot.m4',
|
||||||
'/usr/share/aclocal-1.15/make.m4',
|
'/usr/share/aclocal-1.15/make.m4',
|
||||||
'/usr/share/aclocal-1.15/missing.m4',
|
'/usr/share/aclocal-1.15/missing.m4',
|
||||||
'/usr/share/aclocal-1.15/obsolete.m4',
|
'/usr/share/aclocal-1.15/obsolete.m4',
|
||||||
'/usr/share/aclocal-1.15/options.m4',
|
'/usr/share/aclocal-1.15/options.m4',
|
||||||
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
|
'/usr/share/aclocal-1.15/prog-cc-c-o.m4',
|
||||||
'/usr/share/aclocal-1.15/runlog.m4',
|
'/usr/share/aclocal-1.15/runlog.m4',
|
||||||
'/usr/share/aclocal-1.15/sanity.m4',
|
'/usr/share/aclocal-1.15/sanity.m4',
|
||||||
'/usr/share/aclocal-1.15/silent.m4',
|
'/usr/share/aclocal-1.15/silent.m4',
|
||||||
'/usr/share/aclocal-1.15/strip.m4',
|
'/usr/share/aclocal-1.15/strip.m4',
|
||||||
'/usr/share/aclocal-1.15/substnot.m4',
|
'/usr/share/aclocal-1.15/substnot.m4',
|
||||||
'/usr/share/aclocal-1.15/tar.m4',
|
'/usr/share/aclocal-1.15/tar.m4',
|
||||||
'configure.ac'
|
'configure.ac'
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
'_AM_MANGLE_OPTION' => 1,
|
'_AM_MANGLE_OPTION' => 1,
|
||||||
'AM_PROG_CC_STDC' => 1,
|
'AM_PROG_CC_STDC' => 1,
|
||||||
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
'_AC_AM_CONFIG_HEADER_HOOK' => 1,
|
||||||
'AM_AUTOMAKE_VERSION' => 1,
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
'm4_pattern_forbid' => 1,
|
'm4_pattern_forbid' => 1,
|
||||||
'_m4_warn' => 1,
|
'_m4_warn' => 1,
|
||||||
'AM_RUN_LOG' => 1,
|
'AM_RUN_LOG' => 1,
|
||||||
'AM_MISSING_HAS_RUN' => 1,
|
'AM_MISSING_HAS_RUN' => 1,
|
||||||
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
|
||||||
'AM_SANITY_CHECK' => 1,
|
'AM_SANITY_CHECK' => 1,
|
||||||
'AM_SET_LEADING_DOT' => 1,
|
'AM_SET_LEADING_DOT' => 1,
|
||||||
'AM_MAKE_INCLUDE' => 1,
|
'AM_MAKE_INCLUDE' => 1,
|
||||||
'_AM_PROG_CC_C_O' => 1,
|
'_AM_PROG_CC_C_O' => 1,
|
||||||
'_AM_SET_OPTIONS' => 1,
|
'_AM_SET_OPTIONS' => 1,
|
||||||
'AM_AUX_DIR_EXPAND' => 1,
|
'AM_AUX_DIR_EXPAND' => 1,
|
||||||
'AM_SET_DEPDIR' => 1,
|
'AM_SET_DEPDIR' => 1,
|
||||||
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
'AC_CONFIG_MACRO_DIR_TRACE' => 1,
|
||||||
'AM_SILENT_RULES' => 1,
|
'AM_SILENT_RULES' => 1,
|
||||||
'AM_CONFIG_HEADER' => 1,
|
'AM_CONFIG_HEADER' => 1,
|
||||||
'AM_C_PROTOTYPES' => 1,
|
'AM_C_PROTOTYPES' => 1,
|
||||||
'AM_PROG_CC_C_O' => 1,
|
'AM_PROG_CC_C_O' => 1,
|
||||||
'AU_DEFUN' => 1,
|
'AU_DEFUN' => 1,
|
||||||
'_AM_SET_OPTION' => 1,
|
'_AM_SET_OPTION' => 1,
|
||||||
'_AM_DEPENDENCIES' => 1,
|
'_AM_DEPENDENCIES' => 1,
|
||||||
'_AM_CONFIG_MACRO_DIRS' => 1,
|
'_AM_CONFIG_MACRO_DIRS' => 1,
|
||||||
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
'_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
|
||||||
'AM_PROG_INSTALL_STRIP' => 1,
|
'AM_PROG_INSTALL_STRIP' => 1,
|
||||||
'_AM_SUBST_NOTMAKE' => 1,
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
'_AM_AUTOCONF_VERSION' => 1,
|
'_AM_AUTOCONF_VERSION' => 1,
|
||||||
'm4_pattern_allow' => 1,
|
'm4_pattern_allow' => 1,
|
||||||
'fp_C_PROTOTYPES' => 1,
|
'fp_C_PROTOTYPES' => 1,
|
||||||
'AM_PROG_INSTALL_SH' => 1,
|
'AM_PROG_INSTALL_SH' => 1,
|
||||||
'AM_SUBST_NOTMAKE' => 1,
|
'AM_SUBST_NOTMAKE' => 1,
|
||||||
'_AM_PROG_TAR' => 1,
|
'_AM_PROG_TAR' => 1,
|
||||||
'AC_CONFIG_MACRO_DIR' => 1,
|
'AC_CONFIG_MACRO_DIR' => 1,
|
||||||
'AM_INIT_AUTOMAKE' => 1,
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
'm4_include' => 1,
|
'm4_include' => 1,
|
||||||
'include' => 1,
|
'include' => 1,
|
||||||
'AC_DEFUN_ONCE' => 1,
|
'AC_DEFUN_ONCE' => 1,
|
||||||
'_AM_IF_OPTION' => 1,
|
'_AM_IF_OPTION' => 1,
|
||||||
'AM_MISSING_PROG' => 1,
|
'AM_MISSING_PROG' => 1,
|
||||||
'AM_CONDITIONAL' => 1,
|
'AM_CONDITIONAL' => 1,
|
||||||
'AM_DEP_TRACK' => 1,
|
'AM_DEP_TRACK' => 1,
|
||||||
'AC_DEFUN' => 1,
|
'AC_DEFUN' => 1,
|
||||||
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1
|
'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1
|
||||||
}
|
}
|
||||||
], 'Autom4te::Request' ),
|
], 'Autom4te::Request' ),
|
||||||
bless( [
|
bless( [
|
||||||
'3',
|
'3',
|
||||||
1,
|
1,
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf'
|
'/usr/share/autoconf'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
'/usr/share/autoconf/autoconf/autoconf.m4f',
|
||||||
'aclocal.m4',
|
'aclocal.m4',
|
||||||
'configure.ac'
|
'configure.ac'
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
'LT_INIT' => 1,
|
'LT_INIT' => 1,
|
||||||
'm4_include' => 1,
|
'm4_include' => 1,
|
||||||
'AM_GNU_GETTEXT' => 1,
|
'AM_GNU_GETTEXT' => 1,
|
||||||
'AM_INIT_AUTOMAKE' => 1,
|
'AM_INIT_AUTOMAKE' => 1,
|
||||||
'LT_SUPPORTED_TAG' => 1,
|
'LT_SUPPORTED_TAG' => 1,
|
||||||
'sinclude' => 1,
|
'sinclude' => 1,
|
||||||
'AC_CONFIG_LINKS' => 1,
|
'AC_CONFIG_LINKS' => 1,
|
||||||
'AC_FC_PP_DEFINE' => 1,
|
'AC_FC_PP_DEFINE' => 1,
|
||||||
'include' => 1,
|
'include' => 1,
|
||||||
'AM_PROG_CXX_C_O' => 1,
|
'AM_PROG_CXX_C_O' => 1,
|
||||||
'AC_SUBST' => 1,
|
'AC_SUBST' => 1,
|
||||||
'AM_PROG_AR' => 1,
|
'AM_PROG_AR' => 1,
|
||||||
'AM_POT_TOOLS' => 1,
|
'AM_POT_TOOLS' => 1,
|
||||||
'AC_CONFIG_HEADERS' => 1,
|
'AC_CONFIG_HEADERS' => 1,
|
||||||
'_AM_MAKEFILE_INCLUDE' => 1,
|
'_AM_MAKEFILE_INCLUDE' => 1,
|
||||||
'AC_PROG_LIBTOOL' => 1,
|
'AC_PROG_LIBTOOL' => 1,
|
||||||
'AM_CONDITIONAL' => 1,
|
'AM_CONDITIONAL' => 1,
|
||||||
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
|
||||||
'AC_LIBSOURCE' => 1,
|
'AC_LIBSOURCE' => 1,
|
||||||
'AM_PROG_LIBTOOL' => 1,
|
'AM_PROG_LIBTOOL' => 1,
|
||||||
'AC_CANONICAL_HOST' => 1,
|
'AC_CANONICAL_HOST' => 1,
|
||||||
'AM_PATH_GUILE' => 1,
|
'AM_PATH_GUILE' => 1,
|
||||||
'AM_PROG_CC_C_O' => 1,
|
'AM_PROG_CC_C_O' => 1,
|
||||||
'AM_PROG_MOC' => 1,
|
'AM_PROG_MOC' => 1,
|
||||||
'AC_REQUIRE_AUX_FILE' => 1,
|
'AC_REQUIRE_AUX_FILE' => 1,
|
||||||
'_AM_COND_ELSE' => 1,
|
'_AM_COND_ELSE' => 1,
|
||||||
'AC_INIT' => 1,
|
'AC_INIT' => 1,
|
||||||
'AC_FC_PP_SRCEXT' => 1,
|
'AC_FC_PP_SRCEXT' => 1,
|
||||||
'AC_SUBST_TRACE' => 1,
|
'AC_SUBST_TRACE' => 1,
|
||||||
'AC_CONFIG_AUX_DIR' => 1,
|
'AC_CONFIG_AUX_DIR' => 1,
|
||||||
'm4_pattern_allow' => 1,
|
'm4_pattern_allow' => 1,
|
||||||
'_AM_COND_IF' => 1,
|
'_AM_COND_IF' => 1,
|
||||||
'_AM_SUBST_NOTMAKE' => 1,
|
'_AM_SUBST_NOTMAKE' => 1,
|
||||||
'AC_CONFIG_SUBDIRS' => 1,
|
'AC_CONFIG_SUBDIRS' => 1,
|
||||||
'LT_CONFIG_LTDL_DIR' => 1,
|
'LT_CONFIG_LTDL_DIR' => 1,
|
||||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||||
'AM_ENABLE_MULTILIB' => 1,
|
'AM_ENABLE_MULTILIB' => 1,
|
||||||
'AM_PROG_F77_C_O' => 1,
|
'AM_PROG_F77_C_O' => 1,
|
||||||
'AM_PROG_FC_C_O' => 1,
|
'AM_PROG_FC_C_O' => 1,
|
||||||
'AM_XGETTEXT_OPTION' => 1,
|
'AM_XGETTEXT_OPTION' => 1,
|
||||||
'_AM_COND_ENDIF' => 1,
|
'_AM_COND_ENDIF' => 1,
|
||||||
'AM_NLS' => 1,
|
'AM_NLS' => 1,
|
||||||
'AC_FC_SRCEXT' => 1,
|
'AC_FC_SRCEXT' => 1,
|
||||||
'AC_CONFIG_FILES' => 1,
|
'AC_CONFIG_FILES' => 1,
|
||||||
'AM_SILENT_RULES' => 1,
|
'AM_SILENT_RULES' => 1,
|
||||||
'AC_CANONICAL_BUILD' => 1,
|
'AC_CANONICAL_BUILD' => 1,
|
||||||
'm4_sinclude' => 1,
|
'm4_sinclude' => 1,
|
||||||
'AC_FC_FREEFORM' => 1,
|
'AC_FC_FREEFORM' => 1,
|
||||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||||
'AM_PROG_MKDIR_P' => 1,
|
'AM_PROG_MKDIR_P' => 1,
|
||||||
'AM_MAINTAINER_MODE' => 1,
|
'AM_MAINTAINER_MODE' => 1,
|
||||||
'AH_OUTPUT' => 1,
|
'AH_OUTPUT' => 1,
|
||||||
'AC_CANONICAL_SYSTEM' => 1,
|
'AC_CANONICAL_SYSTEM' => 1,
|
||||||
'_LT_AC_TAGCONFIG' => 1,
|
'_LT_AC_TAGCONFIG' => 1,
|
||||||
'AM_AUTOMAKE_VERSION' => 1,
|
'AM_AUTOMAKE_VERSION' => 1,
|
||||||
'AM_MAKEFILE_INCLUDE' => 1,
|
'AM_MAKEFILE_INCLUDE' => 1,
|
||||||
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
'AM_EXTRA_RECURSIVE_TARGETS' => 1,
|
||||||
'_m4_warn' => 1,
|
'_m4_warn' => 1,
|
||||||
'm4_pattern_forbid' => 1,
|
'm4_pattern_forbid' => 1,
|
||||||
'AC_CANONICAL_TARGET' => 1
|
'AC_CANONICAL_TARGET' => 1
|
||||||
}
|
}
|
||||||
], 'Autom4te::Request' )
|
], 'Autom4te::Request' )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
12
cole/AUTHORS
12
cole/AUTHORS
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
Current maintainer:
|
Current maintainer:
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
Charles Wyble <jackshck@thewybles.com>
|
Charles Wyble <jackshck@thewybles.com>
|
||||||
|
|
||||||
|
|||||||
680
cole/COPYING
680
cole/COPYING
@@ -1,340 +1,340 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) 19yy <name of author>
|
Copyright (C) 19yy <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
Gnomovision version 69, Copyright (C) 19yy name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<signature of Ty Coon>, 1 April 1989
|
<signature of Ty Coon>, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
|||||||
148
cole/ChangeLog
148
cole/ChangeLog
@@ -1,74 +1,74 @@
|
|||||||
|
|
||||||
2.0.1 Arturo Tena <arturo@directmail.org> (1999-08):
|
2.0.1 Arturo Tena <arturo@directmail.org> (1999-08):
|
||||||
+ Fixed bug in cole.h which didn't include stdio.h.
|
+ Fixed bug in cole.h which didn't include stdio.h.
|
||||||
+ New util: cole_extract.
|
+ New util: cole_extract.
|
||||||
+ Updated documentation.
|
+ Updated documentation.
|
||||||
|
|
||||||
2.0.0 Arturo Tena <arturo@directmail.org> (1999-07):
|
2.0.0 Arturo Tena <arturo@directmail.org> (1999-07):
|
||||||
+ New good looking API: it's modeled after `stdio.h' ANSI C calls.
|
+ New good looking API: it's modeled after `stdio.h' ANSI C calls.
|
||||||
+ Documentation of all public calls.
|
+ Documentation of all public calls.
|
||||||
+ OLEdecode and OLEcode are now internal functions and they must be not called.
|
+ OLEdecode and OLEcode are now internal functions and they must be not called.
|
||||||
+ Write files (ie. what OLEcode() used to do) is not implemented by now.
|
+ Write files (ie. what OLEcode() used to do) is not implemented by now.
|
||||||
|
|
||||||
1.0.1 Arturo Tena <arturo@directmail.org> (1999-06-25):
|
1.0.1 Arturo Tena <arturo@directmail.org> (1999-06-25):
|
||||||
User level:
|
User level:
|
||||||
+ Fixed a bug that may prevent from compile under Solaris.
|
+ Fixed a bug that may prevent from compile under Solaris.
|
||||||
|
|
||||||
1.0.0: Arturo Tena <arturo@directmail.org>
|
1.0.0: Arturo Tena <arturo@directmail.org>
|
||||||
User level:
|
User level:
|
||||||
+ Autoconf-ified (now cole have configure script).
|
+ Autoconf-ified (now cole have configure script).
|
||||||
+ Automake-ified (now Makefile have standard targets).
|
+ Automake-ified (now Makefile have standard targets).
|
||||||
+ Objects archived now in a static library: libcole.a.
|
+ Objects archived now in a static library: libcole.a.
|
||||||
+ Can compile a dynamic library.
|
+ Can compile a dynamic library.
|
||||||
+ Check endianess of machine.
|
+ Check endianess of machine.
|
||||||
+ Fix some bugs when reading damaged files.
|
+ Fix some bugs when reading damaged files.
|
||||||
+ Added --enable-cole-verbose option.
|
+ Added --enable-cole-verbose option.
|
||||||
+ Added --enable-osf-align-check (thanks to Bernhard Reiter).
|
+ Added --enable-osf-align-check (thanks to Bernhard Reiter).
|
||||||
+ A cole.spec file to make a RPM package and a cole.lsm to MetaLab archive.
|
+ A cole.spec file to make a RPM package and a cole.lsm to MetaLab archive.
|
||||||
+ Documentation written.
|
+ Documentation written.
|
||||||
Developer Level:
|
Developer Level:
|
||||||
+ Added some macros and functions in support.h
|
+ Added some macros and functions in support.h
|
||||||
+ Change name from test to test_exitf define.
|
+ Change name from test to test_exitf define.
|
||||||
+ Create a new test and test_call_exitf define.
|
+ Create a new test and test_call_exitf define.
|
||||||
+ Rename max function to max3 (preparing to compile in Borland C).
|
+ Rename max function to max3 (preparing to compile in Borland C).
|
||||||
+ fil_swriteU8 disappeared.
|
+ fil_swriteU8 disappeared.
|
||||||
+ Clean up some files.
|
+ Clean up some files.
|
||||||
|
|
||||||
0.1.0:
|
0.1.0:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Change name from oledecod to cole.
|
+ Change name from oledecod to cole.
|
||||||
+ Add olecod.c and olecod.h.
|
+ Add olecod.c and olecod.h.
|
||||||
+ Modified demo.c to call OLEcod.
|
+ Modified demo.c to call OLEcod.
|
||||||
+ Changed pps->name, first character can be from 00 to 10, or so, as
|
+ Changed pps->name, first character can be from 00 to 10, or so, as
|
||||||
originally is in ole 2 files.
|
originally is in ole 2 files.
|
||||||
+ Modified some errors in OLEdecod.
|
+ Modified some errors in OLEdecod.
|
||||||
+ Create test suit, some doc files.
|
+ Create test suit, some doc files.
|
||||||
+ Improve this README.
|
+ Improve this README.
|
||||||
|
|
||||||
0.0.6:
|
0.0.6:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix the checking while reordering pps list.
|
+ Fix the checking while reordering pps list.
|
||||||
+ Add instructions on how to apply patches.
|
+ Add instructions on how to apply patches.
|
||||||
|
|
||||||
0.0.5:
|
0.0.5:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix the "Add some fool integrity checking while reading small block
|
+ Fix the "Add some fool integrity checking while reading small block
|
||||||
depot" fix. Was > instead <=. =)
|
depot" fix. Was > instead <=. =)
|
||||||
+ While reading a broken OLE file, added some checking while reordering
|
+ While reading a broken OLE file, added some checking while reordering
|
||||||
pps list.
|
pps list.
|
||||||
+ Added return parameter to freeOLEtree function.
|
+ Added return parameter to freeOLEtree function.
|
||||||
+ Some general clean up.
|
+ Some general clean up.
|
||||||
|
|
||||||
0.0.4:
|
0.0.4:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix one stupid error while erasing the OLE tree.
|
+ Fix one stupid error while erasing the OLE tree.
|
||||||
+ Add some fool integrity checking while reading small block depot.
|
+ Add some fool integrity checking while reading small block depot.
|
||||||
|
|
||||||
0.0.3:
|
0.0.3:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Add one parameter to OLEdecod; max_level, which is the maximum level
|
+ Add one parameter to OLEdecod; max_level, which is the maximum level
|
||||||
stream we will extract into files.
|
stream we will extract into files.
|
||||||
+ Changed name from main.c to demo.c
|
+ Changed name from main.c to demo.c
|
||||||
+ Added a simple Makefile
|
+ Added a simple Makefile
|
||||||
+ Added this README file.
|
+ Added this README file.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
cole's WWW home page is in:
|
cole's WWW home page is in:
|
||||||
<http://arturo.directmail.org/filtersweb/>
|
<http://arturo.directmail.org/filtersweb/>
|
||||||
|
|
||||||
There you will find references to the most recent version of cole' source code.
|
There you will find references to the most recent version of cole' source code.
|
||||||
|
|
||||||
|
|||||||
552
cole/Makefile
552
cole/Makefile
@@ -1,276 +1,276 @@
|
|||||||
# Generated automatically from Makefile.in by configure.
|
# Generated automatically from Makefile.in by configure.
|
||||||
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
top_srcdir = ..
|
top_srcdir = ..
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
exec_prefix = ${prefix}
|
exec_prefix = ${prefix}
|
||||||
|
|
||||||
bindir = ${exec_prefix}/bin
|
bindir = ${exec_prefix}/bin
|
||||||
sbindir = ${exec_prefix}/sbin
|
sbindir = ${exec_prefix}/sbin
|
||||||
libexecdir = ${exec_prefix}/libexec
|
libexecdir = ${exec_prefix}/libexec
|
||||||
datadir = ${prefix}/share
|
datadir = ${prefix}/share
|
||||||
sysconfdir = ${prefix}/etc
|
sysconfdir = ${prefix}/etc
|
||||||
sharedstatedir = ${prefix}/com
|
sharedstatedir = ${prefix}/com
|
||||||
localstatedir = ${prefix}/var
|
localstatedir = ${prefix}/var
|
||||||
libdir = ${exec_prefix}/lib
|
libdir = ${exec_prefix}/lib
|
||||||
infodir = ${prefix}/info
|
infodir = ${prefix}/info
|
||||||
mandir = ${prefix}/man
|
mandir = ${prefix}/man
|
||||||
includedir = ${prefix}/include
|
includedir = ${prefix}/include
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/xlhtml/xlhtml
|
pkgdatadir = $(datadir)/xlhtml/xlhtml
|
||||||
pkglibdir = $(libdir)/xlhtml/xlhtml
|
pkglibdir = $(libdir)/xlhtml/xlhtml
|
||||||
pkgincludedir = $(includedir)/xlhtml/xlhtml
|
pkgincludedir = $(includedir)/xlhtml/xlhtml
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = aclocal
|
ACLOCAL = aclocal
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
AUTOMAKE = automake
|
AUTOMAKE = automake
|
||||||
AUTOHEADER = autoheader
|
AUTOHEADER = autoheader
|
||||||
|
|
||||||
INSTALL = /usr/bin/install -c
|
INSTALL = /usr/bin/install -c
|
||||||
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
|
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
|
||||||
INSTALL_DATA = ${INSTALL} -m 644
|
INSTALL_DATA = ${INSTALL} -m 644
|
||||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||||
transform = s,x,x,
|
transform = s,x,x,
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = x86_64-unknown-linux-gnu
|
host_alias = x86_64-unknown-linux-gnu
|
||||||
host_triplet =
|
host_triplet =
|
||||||
CC = gcc
|
CC = gcc
|
||||||
COLE_MAJOR = 2
|
COLE_MAJOR = 2
|
||||||
COLE_MICRO = 2
|
COLE_MICRO = 2
|
||||||
COLE_MINOR = 0
|
COLE_MINOR = 0
|
||||||
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
|
HOST_ALIAS_NAME = x86_64-unknown-linux-gnu
|
||||||
HOST_CANONICAL_NAME =
|
HOST_CANONICAL_NAME =
|
||||||
HOST_CPU =
|
HOST_CPU =
|
||||||
HOST_OS =
|
HOST_OS =
|
||||||
HOST_VENDOR =
|
HOST_VENDOR =
|
||||||
MAKEINFO = makeinfo
|
MAKEINFO = makeinfo
|
||||||
PACKAGE = xlhtml/xlhtml
|
PACKAGE = xlhtml/xlhtml
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
STRIP = strip
|
STRIP = strip
|
||||||
VERSION = 0.5
|
VERSION = 0.5
|
||||||
|
|
||||||
EXTRA_DIST = README-cole README-CVS DOWNLOAD ChangeLog ChangeLog-from1to2 TODO THANKS AUTHORS BUGS doc/* examples/* utils/*
|
EXTRA_DIST = README-cole README-CVS DOWNLOAD ChangeLog ChangeLog-from1to2 TODO THANKS AUTHORS BUGS doc/* examples/* utils/*
|
||||||
|
|
||||||
noinst_LIBRARIES = libcole.a
|
noinst_LIBRARIES = libcole.a
|
||||||
libcole_a_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
|
libcole_a_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES = version.c cole.h
|
CONFIG_CLEAN_FILES = version.c cole.h
|
||||||
LIBRARIES = $(noinst_LIBRARIES)
|
LIBRARIES = $(noinst_LIBRARIES)
|
||||||
|
|
||||||
|
|
||||||
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
|
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS =
|
LIBS =
|
||||||
libcole_a_LIBADD =
|
libcole_a_LIBADD =
|
||||||
libcole_a_OBJECTS = cole.o internal.o oledecod.o olecod.o support.o \
|
libcole_a_OBJECTS = cole.o internal.o oledecod.o olecod.o support.o \
|
||||||
version.o
|
version.o
|
||||||
AR = ar
|
AR = ar
|
||||||
CFLAGS = -g -O2
|
CFLAGS = -g -O2
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
DIST_COMMON = AUTHORS COPYING ChangeLog Makefile.am Makefile.in NEWS \
|
DIST_COMMON = AUTHORS COPYING ChangeLog Makefile.am Makefile.in NEWS \
|
||||||
THANKS TODO cole.h.in version.c.in
|
THANKS TODO cole.h.in version.c.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = tar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = $(libcole_a_SOURCES)
|
SOURCES = $(libcole_a_SOURCES)
|
||||||
OBJECTS = $(libcole_a_OBJECTS)
|
OBJECTS = $(libcole_a_OBJECTS)
|
||||||
|
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .o .s
|
.SUFFIXES: .S .c .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps cole/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps cole/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
version.c: $(top_builddir)/config.status version.c.in
|
version.c: $(top_builddir)/config.status version.c.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
cole.h: $(top_builddir)/config.status cole.h.in
|
cole.h: $(top_builddir)/config.status cole.h.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
mostlyclean-noinstLIBRARIES:
|
mostlyclean-noinstLIBRARIES:
|
||||||
|
|
||||||
clean-noinstLIBRARIES:
|
clean-noinstLIBRARIES:
|
||||||
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||||
|
|
||||||
distclean-noinstLIBRARIES:
|
distclean-noinstLIBRARIES:
|
||||||
|
|
||||||
maintainer-clean-noinstLIBRARIES:
|
maintainer-clean-noinstLIBRARIES:
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.s.o:
|
.s.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.S.o:
|
.S.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
mostlyclean-compile:
|
mostlyclean-compile:
|
||||||
-rm -f *.o core *.core
|
-rm -f *.o core *.core
|
||||||
|
|
||||||
clean-compile:
|
clean-compile:
|
||||||
|
|
||||||
distclean-compile:
|
distclean-compile:
|
||||||
-rm -f *.tab.c
|
-rm -f *.tab.c
|
||||||
|
|
||||||
maintainer-clean-compile:
|
maintainer-clean-compile:
|
||||||
|
|
||||||
libcole.a: $(libcole_a_OBJECTS) $(libcole_a_DEPENDENCIES)
|
libcole.a: $(libcole_a_OBJECTS) $(libcole_a_DEPENDENCIES)
|
||||||
-rm -f libcole.a
|
-rm -f libcole.a
|
||||||
$(AR) cru libcole.a $(libcole_a_OBJECTS) $(libcole_a_LIBADD)
|
$(AR) cru libcole.a $(libcole_a_OBJECTS) $(libcole_a_LIBADD)
|
||||||
$(RANLIB) libcole.a
|
$(RANLIB) libcole.a
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $$unique $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||||
|
|
||||||
mostlyclean-tags:
|
mostlyclean-tags:
|
||||||
|
|
||||||
clean-tags:
|
clean-tags:
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID
|
||||||
|
|
||||||
maintainer-clean-tags:
|
maintainer-clean-tags:
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||||
|
|
||||||
subdir = cole
|
subdir = cole
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
$(mkinstalldirs) $(distdir)/doc $(distdir)/examples $(distdir)/utils
|
$(mkinstalldirs) $(distdir)/doc $(distdir)/examples $(distdir)/utils
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
info-am:
|
info-am:
|
||||||
info: info-am
|
info: info-am
|
||||||
dvi-am:
|
dvi-am:
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
installcheck-am:
|
||||||
installcheck: installcheck-am
|
installcheck: installcheck-am
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
install-exec: install-exec-am
|
install-exec: install-exec-am
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
install: install-am
|
||||||
uninstall-am:
|
uninstall-am:
|
||||||
uninstall: uninstall-am
|
uninstall: uninstall-am
|
||||||
all-am: Makefile $(LIBRARIES)
|
all-am: Makefile $(LIBRARIES)
|
||||||
all-redirect: all-am
|
all-redirect: all-am
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
||||||
mostlyclean-tags mostlyclean-generic
|
mostlyclean-tags mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
||||||
mostlyclean-am
|
mostlyclean-am
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
||||||
distclean-tags distclean-generic clean-am
|
distclean-tags distclean-generic clean-am
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
||||||
maintainer-clean-compile maintainer-clean-tags \
|
maintainer-clean-compile maintainer-clean-tags \
|
||||||
maintainer-clean-generic distclean-am
|
maintainer-clean-generic distclean-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
||||||
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
||||||
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
|
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
|
||||||
check-am installcheck-am installcheck install-exec-am install-exec \
|
check-am installcheck-am installcheck install-exec-am install-exec \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
install-data-am install-data install-am install uninstall-am uninstall \
|
||||||
all-redirect all-am all installdirs mostlyclean-generic \
|
all-redirect all-am all installdirs mostlyclean-generic \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||||
mostlyclean distclean maintainer-clean
|
mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
|
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
EXTRA_DIST = README-cole README-CVS DOWNLOAD ChangeLog ChangeLog-from1to2 TODO THANKS AUTHORS BUGS doc/* examples/* utils/*
|
EXTRA_DIST = README-cole README-CVS DOWNLOAD ChangeLog ChangeLog-from1to2 TODO THANKS AUTHORS BUGS doc/* examples/* utils/*
|
||||||
|
|
||||||
noinst_LIBRARIES = libcole.a
|
noinst_LIBRARIES = libcole.a
|
||||||
libcole_a_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
|
libcole_a_SOURCES = cole.c internal.c oledecod.c olecod.c support.c version.c internal.h support.h
|
||||||
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
|
#AM_CFLAGS = -Wall -Wcast-align -Wpointer-arith
|
||||||
|
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
# -w-8008 Disable warning "Condition is always true"
|
# -w-8008 Disable warning "Condition is always true"
|
||||||
# -q Disable copyright message
|
# -q Disable copyright message
|
||||||
#CFLAGS_DEBUG = -y -v
|
#CFLAGS_DEBUG = -y -v
|
||||||
CFLAGS = -w-8008 -q -DWIN32=1 -I.. $(CFLAGS_DEBUG)
|
CFLAGS = -w-8008 -q -DWIN32=1 -I.. $(CFLAGS_DEBUG)
|
||||||
|
|
||||||
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
|
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
|
||||||
|
|
||||||
all: cole.h cole.lib
|
all: cole.h cole.lib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-del *.obj
|
-del *.obj
|
||||||
-del *.lib
|
-del *.lib
|
||||||
|
|
||||||
cole.lib: $(OBJECTS)
|
cole.lib: $(OBJECTS)
|
||||||
tlib cole.lib -+$(OBJECTS: = -+)
|
tlib cole.lib -+$(OBJECTS: = -+)
|
||||||
|
|
||||||
version.obj: version.win32.c
|
version.obj: version.win32.c
|
||||||
$(CC) $(CFLAGS) -DCOMPILER=BC++ -c -o$@ $?
|
$(CC) $(CFLAGS) -DCOMPILER=BC++ -c -o$@ $?
|
||||||
|
|
||||||
cole.h: cole.h.in
|
cole.h: cole.h.in
|
||||||
copy $? $@
|
copy $? $@
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
|
|
||||||
|
|||||||
1120
cole/Makefile.in
1120
cole/Makefile.in
File diff suppressed because it is too large
Load Diff
@@ -1,21 +1,21 @@
|
|||||||
CFLAGS = /nologo /DWIN32=1 /I..
|
CFLAGS = /nologo /DWIN32=1 /I..
|
||||||
|
|
||||||
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
|
OBJECTS = cole.obj internal.obj oledecod.obj olecod.obj support.obj version.obj
|
||||||
|
|
||||||
all: cole.h cole.lib
|
all: cole.h cole.lib
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-del *.obj
|
-del *.obj
|
||||||
-del *.lib
|
-del *.lib
|
||||||
|
|
||||||
cole.lib: $(OBJECTS)
|
cole.lib: $(OBJECTS)
|
||||||
lib /OUT:cole.lib $(OBJECTS)
|
lib /OUT:cole.lib $(OBJECTS)
|
||||||
|
|
||||||
version.obj: version.win32.c
|
version.obj: version.win32.c
|
||||||
$(CC) $(CFLAGS) /DCOMPILER=BC++ /c /Fo$@ version.win32.c
|
$(CC) $(CFLAGS) /DCOMPILER=BC++ /c /Fo$@ version.win32.c
|
||||||
|
|
||||||
cole.h: cole.h.in
|
cole.h: cole.h.in
|
||||||
copy $? $@
|
copy $? $@
|
||||||
|
|
||||||
# eof
|
# eof
|
||||||
|
|
||||||
|
|||||||
150
cole/NEWS
150
cole/NEWS
@@ -1,75 +1,75 @@
|
|||||||
|
|
||||||
2.0.1 Arturo Tena <arturo@directmail.org> (1999-08):
|
2.0.1 Arturo Tena <arturo@directmail.org> (1999-08):
|
||||||
+ Fixed bug in cole.h which didn't include stdio.h.
|
+ Fixed bug in cole.h which didn't include stdio.h.
|
||||||
+ New util: cole_extract.
|
+ New util: cole_extract.
|
||||||
+ Updated documentation.
|
+ Updated documentation.
|
||||||
|
|
||||||
2.0.0 Arturo Tena <arturo@directmail.org> (1999-07):
|
2.0.0 Arturo Tena <arturo@directmail.org> (1999-07):
|
||||||
+ New good looking API: it's modeled after `stdio.h' ANSI C calls.
|
+ New good looking API: it's modeled after `stdio.h' ANSI C calls.
|
||||||
+ Documentation of all public calls.
|
+ Documentation of all public calls.
|
||||||
+ OLEdecode and OLEcode are now internal functions and they must be not called.
|
+ OLEdecode and OLEcode are now internal functions and they must be not called.
|
||||||
+ Write files (ie. what OLEcode() used to do) is not implemented by now.
|
+ Write files (ie. what OLEcode() used to do) is not implemented by now.
|
||||||
|
|
||||||
1.0.1 Arturo Tena <arturo@directmail.org> (1999-06-25):
|
1.0.1 Arturo Tena <arturo@directmail.org> (1999-06-25):
|
||||||
User level:
|
User level:
|
||||||
+ Fixed a bug that may prevent from compile under Solaris.
|
+ Fixed a bug that may prevent from compile under Solaris.
|
||||||
|
|
||||||
1.0.0:
|
1.0.0:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
User level:
|
User level:
|
||||||
+ Autoconf-ified (now cole have configure script).
|
+ Autoconf-ified (now cole have configure script).
|
||||||
+ Automake-ified (now Makefile have standard targets).
|
+ Automake-ified (now Makefile have standard targets).
|
||||||
+ Objects archived now in a static library: libcole.a.
|
+ Objects archived now in a static library: libcole.a.
|
||||||
+ Can compile a dynamic library.
|
+ Can compile a dynamic library.
|
||||||
+ Check endianess of machine.
|
+ Check endianess of machine.
|
||||||
+ Fix some bugs when reading damaged files.
|
+ Fix some bugs when reading damaged files.
|
||||||
+ Added --enable-cole-verbose option.
|
+ Added --enable-cole-verbose option.
|
||||||
+ Added --enable-osf-align-check (thanks to Bernhard Reiter).
|
+ Added --enable-osf-align-check (thanks to Bernhard Reiter).
|
||||||
+ A cole.spec file to make a RPM package and a cole.lsm to MetaLab archive.
|
+ A cole.spec file to make a RPM package and a cole.lsm to MetaLab archive.
|
||||||
+ Documentation written.
|
+ Documentation written.
|
||||||
Inside code:
|
Inside code:
|
||||||
+ Added some macros and functions in support.h
|
+ Added some macros and functions in support.h
|
||||||
+ Change name from test to test_exitf define.
|
+ Change name from test to test_exitf define.
|
||||||
+ Create a new test and test_call_exitf define.
|
+ Create a new test and test_call_exitf define.
|
||||||
+ Rename max function to max3 (preparing to compile in Borland C).
|
+ Rename max function to max3 (preparing to compile in Borland C).
|
||||||
+ fil_swriteU8 disappeared.
|
+ fil_swriteU8 disappeared.
|
||||||
+ Clean up some files.
|
+ Clean up some files.
|
||||||
|
|
||||||
0.1.0:
|
0.1.0:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Change name from oledecod to cole.
|
+ Change name from oledecod to cole.
|
||||||
+ Add olecod.c and olecod.h.
|
+ Add olecod.c and olecod.h.
|
||||||
+ Modified demo.c to call OLEcod.
|
+ Modified demo.c to call OLEcod.
|
||||||
+ Changed pps->name, first character can be from 00 to 10, or so, as
|
+ Changed pps->name, first character can be from 00 to 10, or so, as
|
||||||
originally is in ole 2 files.
|
originally is in ole 2 files.
|
||||||
+ Modified some errors in OLEdecod.
|
+ Modified some errors in OLEdecod.
|
||||||
+ Create test suit, some doc files.
|
+ Create test suit, some doc files.
|
||||||
+ Improve this README.
|
+ Improve this README.
|
||||||
|
|
||||||
0.0.6:
|
0.0.6:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix the checking while reordering pps list.
|
+ Fix the checking while reordering pps list.
|
||||||
+ Add instructions on how to apply patches.
|
+ Add instructions on how to apply patches.
|
||||||
|
|
||||||
0.0.5:
|
0.0.5:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix the "Add some fool integrity checking while reading small block
|
+ Fix the "Add some fool integrity checking while reading small block
|
||||||
depot" fix. Was > instead <=. =)
|
depot" fix. Was > instead <=. =)
|
||||||
+ While reading a broken OLE file, added some checking while reordering
|
+ While reading a broken OLE file, added some checking while reordering
|
||||||
pps list.
|
pps list.
|
||||||
+ Added return parameter to freeOLEtree function.
|
+ Added return parameter to freeOLEtree function.
|
||||||
+ Some general clean up.
|
+ Some general clean up.
|
||||||
|
|
||||||
0.0.4:
|
0.0.4:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Fix one stupid error while erasing the OLE tree.
|
+ Fix one stupid error while erasing the OLE tree.
|
||||||
+ Add some fool integrity checking while reading small block depot.
|
+ Add some fool integrity checking while reading small block depot.
|
||||||
|
|
||||||
0.0.3:
|
0.0.3:
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
+ Add one parameter to OLEdecod; max_level, which is the maximum level
|
+ Add one parameter to OLEdecod; max_level, which is the maximum level
|
||||||
stream we will extract into files.
|
stream we will extract into files.
|
||||||
+ Changed name from main.c to demo.c
|
+ Changed name from main.c to demo.c
|
||||||
+ Added a simple Makefile
|
+ Added a simple Makefile
|
||||||
+ Added this README file.
|
+ Added this README file.
|
||||||
|
|
||||||
|
|||||||
54
cole/THANKS
54
cole/THANKS
@@ -1,27 +1,27 @@
|
|||||||
|
|
||||||
Thank you to everyone that has contributed to this project!
|
Thank you to everyone that has contributed to this project!
|
||||||
|
|
||||||
(If you can't find your name here, please email the current maintainer).
|
(If you can't find your name here, please email the current maintainer).
|
||||||
|
|
||||||
Thanks to:
|
Thanks to:
|
||||||
**********
|
**********
|
||||||
|
|
||||||
The LAOLA guy: Martin Schwartz.
|
The LAOLA guy: Martin Schwartz.
|
||||||
Without his amazing hack into Structured Storage and Compound Files
|
Without his amazing hack into Structured Storage and Compound Files
|
||||||
this work would have never been possible.
|
this work would have never been possible.
|
||||||
|
|
||||||
The Engineering Computer Laboratory of La Salle University
|
The Engineering Computer Laboratory of La Salle University
|
||||||
Mexico, Campus Mexico City, for supporting Arturo Tena
|
Mexico, Campus Mexico City, for supporting Arturo Tena
|
||||||
in cole development.
|
in cole development.
|
||||||
|
|
||||||
Bernhard Reiter <bernhard@uwm.edu>. OSF fixes.
|
Bernhard Reiter <bernhard@uwm.edu>. OSF fixes.
|
||||||
|
|
||||||
Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix.
|
Shaw Terwilliger <sterwill@postman.abisource.com>. C++ fix.
|
||||||
|
|
||||||
Caolan McNamara <Caolan.McNamara@ul.ie>. Debug and more.
|
Caolan McNamara <Caolan.McNamara@ul.ie>. Debug and more.
|
||||||
|
|
||||||
Martin Scharpf <martin.scharpf@bbraun.com>. Debug.
|
Martin Scharpf <martin.scharpf@bbraun.com>. Debug.
|
||||||
|
|
||||||
David Rysdam. The memory dump function used by cole
|
David Rysdam. The memory dump function used by cole
|
||||||
in pre 1.x and 1.x releases.
|
in pre 1.x and 1.x releases.
|
||||||
|
|
||||||
|
|||||||
186
cole/TODO
186
cole/TODO
@@ -1,93 +1,93 @@
|
|||||||
|
|
||||||
HIGH PRIORITY:
|
HIGH PRIORITY:
|
||||||
**************
|
**************
|
||||||
|
|
||||||
* Review all the documentation for style errors and so on.
|
* Review all the documentation for style errors and so on.
|
||||||
PLEASE, ENGLISH SPEAKERS, HELP ME HERE!!!
|
PLEASE, ENGLISH SPEAKERS, HELP ME HERE!!!
|
||||||
|
|
||||||
* Improve example of cole_recurse_tree() in examples/filesystem.c: include
|
* Improve example of cole_recurse_tree() in examples/filesystem.c: include
|
||||||
actual callback functions, not just NULLs.
|
actual callback functions, not just NULLs.
|
||||||
|
|
||||||
* Write tests for all calls of the API: Improve example/directory.c:
|
* Write tests for all calls of the API: Improve example/directory.c:
|
||||||
missing some calls to test.
|
missing some calls to test.
|
||||||
|
|
||||||
* Call all the calls of the API in examples/demo.c.
|
* Call all the calls of the API in examples/demo.c.
|
||||||
|
|
||||||
* Implement more API calls, like `stdio.h' ANSI C calls.
|
* Implement more API calls, like `stdio.h' ANSI C calls.
|
||||||
|
|
||||||
* Search for `FIXME' in the source code... and fix some =).
|
* Search for `FIXME' in the source code... and fix some =).
|
||||||
|
|
||||||
|
|
||||||
MEDIUM:
|
MEDIUM:
|
||||||
*******
|
*******
|
||||||
|
|
||||||
* Improve tests, they must actually test the output of the public calls.
|
* Improve tests, they must actually test the output of the public calls.
|
||||||
|
|
||||||
* Investigate if it is possible to use `const' in static version variables.
|
* Investigate if it is possible to use `const' in static version variables.
|
||||||
|
|
||||||
* Test cole_fopen() using wired filenames. ie "/", "//", "", etc. May be a
|
* Test cole_fopen() using wired filenames. ie "/", "//", "", etc. May be a
|
||||||
function that check the filename could be written.
|
function that check the filename could be written.
|
||||||
|
|
||||||
* Check input arguments of each call of the API, returning an colerror if
|
* Check input arguments of each call of the API, returning an colerror if
|
||||||
there are an error.
|
there are an error.
|
||||||
|
|
||||||
* Say in the documentation that many other files can be `Structured Storage'
|
* Say in the documentation that many other files can be `Structured Storage'
|
||||||
files too.
|
files too.
|
||||||
|
|
||||||
* May be in cole 3.x, create a double char type in order to handle the complete
|
* May be in cole 3.x, create a double char type in order to handle the complete
|
||||||
directory and file names.
|
directory and file names.
|
||||||
|
|
||||||
* Investigate how to avoid content of the structures COLEFILE and so on be
|
* Investigate how to avoid content of the structures COLEFILE and so on be
|
||||||
documented in the api document (their must be documented only in the internal
|
documented in the api document (their must be documented only in the internal
|
||||||
document).
|
document).
|
||||||
|
|
||||||
* Investigate how to force that calls begining with `_' to be in documentation
|
* Investigate how to force that calls begining with `_' to be in documentation
|
||||||
(their will be in internals).
|
(their will be in internals).
|
||||||
|
|
||||||
* Make api section is before internals section in generated documentation, but
|
* Make api section is before internals section in generated documentation, but
|
||||||
COLEFS, COLEFILE, COLEDIR and COLEDIRENT must be documented in internals, not
|
COLEFS, COLEFILE, COLEDIR and COLEDIRENT must be documented in internals, not
|
||||||
in api.
|
in api.
|
||||||
|
|
||||||
* Make cole fork safe.
|
* Make cole fork safe.
|
||||||
|
|
||||||
* Make reentrant safe.
|
* Make reentrant safe.
|
||||||
|
|
||||||
* Review Martin Schwartz mail:
|
* Review Martin Schwartz mail:
|
||||||
---QUOTE---
|
---QUOTE---
|
||||||
It might be helpful to you to have a look at the perl 5 (Ole::Storage)
|
It might be helpful to you to have a look at the perl 5 (Ole::Storage)
|
||||||
release file "Storage.pm" method "ole_head", giving some additional info
|
release file "Storage.pm" method "ole_head", giving some additional info
|
||||||
about big- and smallblocksize (offset 0x1e, 0x20) as well as about Extended
|
about big- and smallblocksize (offset 0x1e, 0x20) as well as about Extended
|
||||||
Block Depot for very large files (offset 0x44, 0x48). And, sorry for my
|
Block Depot for very large files (offset 0x44, 0x48). And, sorry for my
|
||||||
screwed up namegiving...
|
screwed up namegiving...
|
||||||
---END QUOTE---
|
---END QUOTE---
|
||||||
The Extended Block Depot is implemented now, but bigblocksize and
|
The Extended Block Depot is implemented now, but bigblocksize and
|
||||||
smallblocksize are not implented yet.
|
smallblocksize are not implented yet.
|
||||||
|
|
||||||
* Really use the results of the configure guesses, with #ifdef HAVE_x in code.
|
* Really use the results of the configure guesses, with #ifdef HAVE_x in code.
|
||||||
|
|
||||||
* Make it compile using DJGPP and Borland C (we may need a custom Makefile and
|
* Make it compile using DJGPP and Borland C (we may need a custom Makefile and
|
||||||
a custom config.h).
|
a custom config.h).
|
||||||
|
|
||||||
* Use void `swab(const void *from, void *to, size_t n);' (in fil_sread*
|
* Use void `swab(const void *from, void *to, size_t n);' (in fil_sread*
|
||||||
calls) if present, for performance, in support.c.
|
calls) if present, for performance, in support.c.
|
||||||
|
|
||||||
* Replace cole_direntry_getday[12] and cole_direntry_getsec[12] calls with
|
* Replace cole_direntry_getday[12] and cole_direntry_getsec[12] calls with
|
||||||
another calls that return something useful.
|
another calls that return something useful.
|
||||||
|
|
||||||
* Divide the RPM in cole and cole-devel packages (may be it's not necessary,
|
* Divide the RPM in cole and cole-devel packages (may be it's not necessary,
|
||||||
because cole package is not much big).
|
because cole package is not much big).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NOT URGENT:
|
NOT URGENT:
|
||||||
***********
|
***********
|
||||||
|
|
||||||
* Use some package to discover uninitializated memory, use some profile
|
* Use some package to discover uninitializated memory, use some profile
|
||||||
package, etc.
|
package, etc.
|
||||||
|
|
||||||
* Use zlib to support compressed files.
|
* Use zlib to support compressed files.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,71 +1,71 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
prefix=@prefix@
|
prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: cole-config [OPTION]
|
Usage: cole-config [OPTION]
|
||||||
|
|
||||||
Known values for OPTION are:
|
Known values for OPTION are:
|
||||||
|
|
||||||
--prefix=DIR change cole prefix [default $prefix]
|
--prefix=DIR change cole prefix [default $prefix]
|
||||||
--libs print library linking information
|
--libs print library linking information
|
||||||
--cflags print pre-processor and compiler flags
|
--cflags print pre-processor and compiler flags
|
||||||
--help display this help and exit
|
--help display this help and exit
|
||||||
--version output version information
|
--version output version information
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
exit $1
|
exit $1
|
||||||
}
|
}
|
||||||
|
|
||||||
if test $# -eq 0; then
|
if test $# -eq 0; then
|
||||||
usage 1
|
usage 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cflags=false
|
cflags=false
|
||||||
libs=false
|
libs=false
|
||||||
|
|
||||||
while test $# -gt 0; do
|
while test $# -gt 0; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||||
*) optarg= ;;
|
*) optarg= ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--prefix=*)
|
--prefix=*)
|
||||||
prefix=$optarg
|
prefix=$optarg
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--prefix)
|
--prefix)
|
||||||
echo $prefix
|
echo $prefix
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--version)
|
--version)
|
||||||
echo @PACKAGE@ @VERSION@
|
echo @PACKAGE@ @VERSION@
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--help)
|
--help)
|
||||||
usage 0
|
usage 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--cflags)
|
--cflags)
|
||||||
echo -I@includedir@
|
echo -I@includedir@
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--libs)
|
--libs)
|
||||||
echo -L@libdir@ -lcole
|
echo -L@libdir@ -lcole
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
2446
cole/cole.c
2446
cole/cole.c
File diff suppressed because it is too large
Load Diff
454
cole/cole.h
454
cole/cole.h
@@ -1,227 +1,227 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __COLE_H
|
#ifndef __COLE_H
|
||||||
#define __COLE_H
|
#define __COLE_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Attention: this API is documentated in the `doc' subdirectory
|
* Attention: this API is documentated in the `doc' subdirectory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Just to get size_t */
|
/* Just to get size_t */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifndef COLE_INTERNAL_H
|
#ifndef COLE_INTERNAL_H
|
||||||
#include "internal.h" /* For _COLE struct definitions */
|
#include "internal.h" /* For _COLE struct definitions */
|
||||||
#endif
|
#endif
|
||||||
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
|
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
/* autoconf defines size_t as unsigned if not defined. */
|
/* autoconf defines size_t as unsigned if not defined. */
|
||||||
/* Uncomment these ONLY if you don't have a size_t */
|
/* Uncomment these ONLY if you don't have a size_t */
|
||||||
/* #ifndef size_t */
|
/* #ifndef size_t */
|
||||||
/* #define size_t unsigned */
|
/* #define size_t unsigned */
|
||||||
/* #endif */
|
/* #endif */
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* version info
|
* version info
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
#define COLE_MAJOR_VERSION 2
|
#define COLE_MAJOR_VERSION 2
|
||||||
#define COLE_MINOR_VERSION 0
|
#define COLE_MINOR_VERSION 0
|
||||||
#define COLE_MICRO_VERSION 2
|
#define COLE_MICRO_VERSION 2
|
||||||
extern int cole_major_version;
|
extern int cole_major_version;
|
||||||
extern int cole_minor_version;
|
extern int cole_minor_version;
|
||||||
extern int cole_micro_version;
|
extern int cole_micro_version;
|
||||||
extern char *cole_version;
|
extern char *cole_version;
|
||||||
extern char *cole_host_info;
|
extern char *cole_host_info;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* errors
|
* errors
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
enum _COLERRNO {
|
enum _COLERRNO {
|
||||||
/* & = means that you can use perror(3) call to print an error message */
|
/* & = means that you can use perror(3) call to print an error message */
|
||||||
/* you can always use cole_perror to print an error message */
|
/* you can always use cole_perror to print an error message */
|
||||||
COLE_EFIRST, /* Leave this at first place */
|
COLE_EFIRST, /* Leave this at first place */
|
||||||
/*&*/ COLE_EMEMORY, /* Failed malloc(3) or realloc(3) */
|
/*&*/ COLE_EMEMORY, /* Failed malloc(3) or realloc(3) */
|
||||||
/*&*/ COLE_EOPENFILE, /* Failed fopen(3) */
|
/*&*/ COLE_EOPENFILE, /* Failed fopen(3) */
|
||||||
/*&*/ COLE_ECLOSEFILE, /* Failed fclose(3) */
|
/*&*/ COLE_ECLOSEFILE, /* Failed fclose(3) */
|
||||||
/*&*/ COLE_EREAD, /* Failed fread(3) */
|
/*&*/ COLE_EREAD, /* Failed fread(3) */
|
||||||
/*&*/ COLE_EWRITE, /* Failed fwrite(3) */
|
/*&*/ COLE_EWRITE, /* Failed fwrite(3) */
|
||||||
/*&*/ COLE_EREMOVE, /* Failed remove(3) */
|
/*&*/ COLE_EREMOVE, /* Failed remove(3) */
|
||||||
/*&*/ COLE_ETMPNAM, /* Failed tmpnam(3) */
|
/*&*/ COLE_ETMPNAM, /* Failed tmpnam(3) */
|
||||||
/*&*/ COLE_ESEEK, /* Failed fseek(3) */
|
/*&*/ COLE_ESEEK, /* Failed fseek(3) */
|
||||||
/*&*/ COLE_EERRNO, /* Some system call failed */
|
/*&*/ COLE_EERRNO, /* Some system call failed */
|
||||||
COLE_ENOFILESYSTEM, /* File is not a filesystem */
|
COLE_ENOFILESYSTEM, /* File is not a filesystem */
|
||||||
COLE_EINVALIDFILESYSTEM,/* Filesystem is broken, it's invalid */
|
COLE_EINVALIDFILESYSTEM,/* Filesystem is broken, it's invalid */
|
||||||
COLE_EISNOTDIR, /* Directory entry is not a directory */
|
COLE_EISNOTDIR, /* Directory entry is not a directory */
|
||||||
COLE_EISNOTFILE, /* Directory entry is not a file */
|
COLE_EISNOTFILE, /* Directory entry is not a file */
|
||||||
COLE_EFILENOTFOUND, /* Doesn't exist a file with the given name */
|
COLE_EFILENOTFOUND, /* Doesn't exist a file with the given name */
|
||||||
COLE_EOF, /* End of file has been reached */
|
COLE_EOF, /* End of file has been reached */
|
||||||
COLE_EMEMBERISNOTDIR, /* A member of the filename is not
|
COLE_EMEMBERISNOTDIR, /* A member of the filename is not
|
||||||
a directory */
|
a directory */
|
||||||
COLE_EBROKENFILENAME, /* The filename is not right written */
|
COLE_EBROKENFILENAME, /* The filename is not right written */
|
||||||
COLE_EFILENAMEISNOTFILE,/* Filename is not a file */
|
COLE_EFILENAMEISNOTFILE,/* Filename is not a file */
|
||||||
COLE_EFSEEKDELTA, /* Delta argument is not valid */
|
COLE_EFSEEKDELTA, /* Delta argument is not valid */
|
||||||
COLE_EFSEEKFLAG, /* Flag argument is not valid */
|
COLE_EFSEEKFLAG, /* Flag argument is not valid */
|
||||||
COLE_EUNKNOWN, /* An unknown error ocurred, can be a bug */
|
COLE_EUNKNOWN, /* An unknown error ocurred, can be a bug */
|
||||||
COLE_ELAST /* Leave this at last place */
|
COLE_ELAST /* Leave this at last place */
|
||||||
};
|
};
|
||||||
typedef enum _COLERRNO COLERRNO;
|
typedef enum _COLERRNO COLERRNO;
|
||||||
|
|
||||||
void cole_perror (const char *s, COLERRNO colerrno);
|
void cole_perror (const char *s, COLERRNO colerrno);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* other enums
|
* other enums
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
enum _COLE_SEEK_FLAG
|
enum _COLE_SEEK_FLAG
|
||||||
{
|
{
|
||||||
COLE_SEEK_SET,
|
COLE_SEEK_SET,
|
||||||
COLE_SEEK_FORWARD,
|
COLE_SEEK_FORWARD,
|
||||||
COLE_SEEK_BACKWARD,
|
COLE_SEEK_BACKWARD,
|
||||||
COLE_SEEK_END
|
COLE_SEEK_END
|
||||||
};
|
};
|
||||||
typedef enum _COLE_SEEK_FLAG COLE_SEEK_FLAG;
|
typedef enum _COLE_SEEK_FLAG COLE_SEEK_FLAG;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* structures
|
* structures
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
/* These are opaque data types, because the internal structure will change */
|
/* These are opaque data types, because the internal structure will change */
|
||||||
typedef struct _COLEFS COLEFS;
|
typedef struct _COLEFS COLEFS;
|
||||||
typedef struct _COLEDIR COLEDIR;
|
typedef struct _COLEDIR COLEDIR;
|
||||||
typedef struct _COLEDIRENT COLEDIRENT;
|
typedef struct _COLEDIRENT COLEDIRENT;
|
||||||
typedef struct _COLEFILE COLEFILE;
|
typedef struct _COLEFILE COLEFILE;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* functions types
|
* functions types
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
typedef int (COLE_RECURSE_DIR_FUNC) (COLEDIR *coledir,
|
typedef int (COLE_RECURSE_DIR_FUNC) (COLEDIR *coledir,
|
||||||
void *info,
|
void *info,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
typedef int (COLE_RECURSE_DIRENT_FUNC) (COLEDIRENT *coledirentry,
|
typedef int (COLE_RECURSE_DIRENT_FUNC) (COLEDIRENT *coledirentry,
|
||||||
void *info,
|
void *info,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
typedef int (COLE_RECURSE_VISIT_DIR_FUNC) (COLEDIR *coledir,
|
typedef int (COLE_RECURSE_VISIT_DIR_FUNC) (COLEDIR *coledir,
|
||||||
void *info);
|
void *info);
|
||||||
typedef void (COLE_LOCATE_ACTION_FUNC) (COLEDIRENT *coledirentry,
|
typedef void (COLE_LOCATE_ACTION_FUNC) (COLEDIRENT *coledirentry,
|
||||||
void *info);
|
void *info);
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* calls
|
* calls
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* filesystem
|
* filesystem
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEFS * cole_mount (char *filename,
|
COLEFS * cole_mount (char *filename,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_umount (COLEFS *colefilesystem,
|
int cole_umount (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_print_tree (COLEFS *colefilesystem,
|
int cole_print_tree (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_locate_filename (COLEFS *colefilesystem,
|
int cole_locate_filename (COLEFS *colefilesystem,
|
||||||
char *filename,
|
char *filename,
|
||||||
void *info,
|
void *info,
|
||||||
COLE_LOCATE_ACTION_FUNC *action,
|
COLE_LOCATE_ACTION_FUNC *action,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_recurse_tree (COLEFS *colefilesystem,
|
int cole_recurse_tree (COLEFS *colefilesystem,
|
||||||
void *info,
|
void *info,
|
||||||
COLE_RECURSE_DIR_FUNC *inroot,
|
COLE_RECURSE_DIR_FUNC *inroot,
|
||||||
COLE_RECURSE_DIRENT_FUNC *indirentry,
|
COLE_RECURSE_DIRENT_FUNC *indirentry,
|
||||||
COLE_RECURSE_DIR_FUNC *indir,
|
COLE_RECURSE_DIR_FUNC *indir,
|
||||||
COLE_RECURSE_DIR_FUNC *outdir,
|
COLE_RECURSE_DIR_FUNC *outdir,
|
||||||
COLE_RECURSE_VISIT_DIR_FUNC *visitdir,
|
COLE_RECURSE_VISIT_DIR_FUNC *visitdir,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
|
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* file
|
* file
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEFILE * cole_fopen (COLEFS *colefilesystem,
|
COLEFILE * cole_fopen (COLEFS *colefilesystem,
|
||||||
char *filename,
|
char *filename,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEFILE * cole_fopen_direntry (COLEDIRENT *coledirentry,
|
COLEFILE * cole_fopen_direntry (COLEDIRENT *coledirentry,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_fclose (COLEFILE *colefile,
|
int cole_fclose (COLEFILE *colefile,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
size_t cole_fsize (COLEFILE *colefile);
|
size_t cole_fsize (COLEFILE *colefile);
|
||||||
size_t cole_fread (COLEFILE *colefile,
|
size_t cole_fread (COLEFILE *colefile,
|
||||||
void *ptr,
|
void *ptr,
|
||||||
size_t size,
|
size_t size,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_feof (COLEFILE *colefile);
|
int cole_feof (COLEFILE *colefile);
|
||||||
size_t cole_ftell (COLEFILE *colefile);
|
size_t cole_ftell (COLEFILE *colefile);
|
||||||
int cole_fseek (COLEFILE *colefile,
|
int cole_fseek (COLEFILE *colefile,
|
||||||
size_t delta,
|
size_t delta,
|
||||||
COLE_SEEK_FLAG direction,
|
COLE_SEEK_FLAG direction,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_frewind (COLEFILE *colefile,
|
int cole_frewind (COLEFILE *colefile,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* directory and directory entry
|
* directory and directory entry
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEDIR * cole_opendir_rootdir (COLEFS *colefilesystem,
|
COLEDIR * cole_opendir_rootdir (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEDIR * cole_opendir_direntry (COLEDIRENT *coledirentry,
|
COLEDIR * cole_opendir_direntry (COLEDIRENT *coledirentry,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_closedir (COLEDIR *coledir,
|
int cole_closedir (COLEDIR *coledir,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEDIRENT * cole_visiteddirentry (COLEDIR *coledir);
|
COLEDIRENT * cole_visiteddirentry (COLEDIR *coledir);
|
||||||
COLEDIRENT * cole_nextdirentry (COLEDIR *coledir);
|
COLEDIRENT * cole_nextdirentry (COLEDIR *coledir);
|
||||||
char * cole_dir_getname (COLEDIR *coledir);
|
char * cole_dir_getname (COLEDIR *coledir);
|
||||||
size_t cole_dir_getsize (COLEDIR *coledir);
|
size_t cole_dir_getsize (COLEDIR *coledir);
|
||||||
long cole_dir_getdays1 (COLEDIR *coledir);
|
long cole_dir_getdays1 (COLEDIR *coledir);
|
||||||
long cole_dir_getsec1 (COLEDIR *coledir);
|
long cole_dir_getsec1 (COLEDIR *coledir);
|
||||||
long cole_dir_getdays2 (COLEDIR *coledir);
|
long cole_dir_getdays2 (COLEDIR *coledir);
|
||||||
long cole_dir_getsec2 (COLEDIR *coledir);
|
long cole_dir_getsec2 (COLEDIR *coledir);
|
||||||
char * cole_direntry_getname (COLEDIRENT *coledirentry);
|
char * cole_direntry_getname (COLEDIRENT *coledirentry);
|
||||||
size_t cole_direntry_getsize (COLEDIRENT *coledirentry);
|
size_t cole_direntry_getsize (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getdays1 (COLEDIRENT *coledirentry);
|
long cole_direntry_getdays1 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getsec1 (COLEDIRENT *coledirentry);
|
long cole_direntry_getsec1 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getdays2 (COLEDIRENT *coledirentry);
|
long cole_direntry_getdays2 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getsec2 (COLEDIRENT *coledirentry);
|
long cole_direntry_getsec2 (COLEDIRENT *coledirentry);
|
||||||
int cole_direntry_isdir (COLEDIRENT *coledirentry);
|
int cole_direntry_isdir (COLEDIRENT *coledirentry);
|
||||||
int cole_direntry_isfile (COLEDIRENT *coledirentry);
|
int cole_direntry_isfile (COLEDIRENT *coledirentry);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __COLE_H */
|
#endif /* __COLE_H */
|
||||||
|
|
||||||
|
|||||||
454
cole/cole.h.in
454
cole/cole.h.in
@@ -1,227 +1,227 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __COLE_H
|
#ifndef __COLE_H
|
||||||
#define __COLE_H
|
#define __COLE_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Attention: this API is documentated in the `doc' subdirectory
|
* Attention: this API is documentated in the `doc' subdirectory
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Just to get size_t */
|
/* Just to get size_t */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#ifndef COLE_INTERNAL_H
|
#ifndef COLE_INTERNAL_H
|
||||||
#include "internal.h" /* For _COLE struct definitions */
|
#include "internal.h" /* For _COLE struct definitions */
|
||||||
#endif
|
#endif
|
||||||
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
|
#if !(defined( __BORLANDC__ ) || defined( __WIN32__ ))
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
/* autoconf defines size_t as unsigned if not defined. */
|
/* autoconf defines size_t as unsigned if not defined. */
|
||||||
/* Uncomment these ONLY if you don't have a size_t */
|
/* Uncomment these ONLY if you don't have a size_t */
|
||||||
/* #ifndef size_t */
|
/* #ifndef size_t */
|
||||||
/* #define size_t unsigned */
|
/* #define size_t unsigned */
|
||||||
/* #endif */
|
/* #endif */
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* version info
|
* version info
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
#define COLE_MAJOR_VERSION @COLE_MAJOR@
|
#define COLE_MAJOR_VERSION @COLE_MAJOR@
|
||||||
#define COLE_MINOR_VERSION @COLE_MINOR@
|
#define COLE_MINOR_VERSION @COLE_MINOR@
|
||||||
#define COLE_MICRO_VERSION @COLE_MICRO@
|
#define COLE_MICRO_VERSION @COLE_MICRO@
|
||||||
extern int cole_major_version;
|
extern int cole_major_version;
|
||||||
extern int cole_minor_version;
|
extern int cole_minor_version;
|
||||||
extern int cole_micro_version;
|
extern int cole_micro_version;
|
||||||
extern char *cole_version;
|
extern char *cole_version;
|
||||||
extern char *cole_host_info;
|
extern char *cole_host_info;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* errors
|
* errors
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
enum _COLERRNO {
|
enum _COLERRNO {
|
||||||
/* & = means that you can use perror(3) call to print an error message */
|
/* & = means that you can use perror(3) call to print an error message */
|
||||||
/* you can always use cole_perror to print an error message */
|
/* you can always use cole_perror to print an error message */
|
||||||
COLE_EFIRST, /* Leave this at first place */
|
COLE_EFIRST, /* Leave this at first place */
|
||||||
/*&*/ COLE_EMEMORY, /* Failed malloc(3) or realloc(3) */
|
/*&*/ COLE_EMEMORY, /* Failed malloc(3) or realloc(3) */
|
||||||
/*&*/ COLE_EOPENFILE, /* Failed fopen(3) */
|
/*&*/ COLE_EOPENFILE, /* Failed fopen(3) */
|
||||||
/*&*/ COLE_ECLOSEFILE, /* Failed fclose(3) */
|
/*&*/ COLE_ECLOSEFILE, /* Failed fclose(3) */
|
||||||
/*&*/ COLE_EREAD, /* Failed fread(3) */
|
/*&*/ COLE_EREAD, /* Failed fread(3) */
|
||||||
/*&*/ COLE_EWRITE, /* Failed fwrite(3) */
|
/*&*/ COLE_EWRITE, /* Failed fwrite(3) */
|
||||||
/*&*/ COLE_EREMOVE, /* Failed remove(3) */
|
/*&*/ COLE_EREMOVE, /* Failed remove(3) */
|
||||||
/*&*/ COLE_ETMPNAM, /* Failed tmpnam(3) */
|
/*&*/ COLE_ETMPNAM, /* Failed tmpnam(3) */
|
||||||
/*&*/ COLE_ESEEK, /* Failed fseek(3) */
|
/*&*/ COLE_ESEEK, /* Failed fseek(3) */
|
||||||
/*&*/ COLE_EERRNO, /* Some system call failed */
|
/*&*/ COLE_EERRNO, /* Some system call failed */
|
||||||
COLE_ENOFILESYSTEM, /* File is not a filesystem */
|
COLE_ENOFILESYSTEM, /* File is not a filesystem */
|
||||||
COLE_EINVALIDFILESYSTEM,/* Filesystem is broken, it's invalid */
|
COLE_EINVALIDFILESYSTEM,/* Filesystem is broken, it's invalid */
|
||||||
COLE_EISNOTDIR, /* Directory entry is not a directory */
|
COLE_EISNOTDIR, /* Directory entry is not a directory */
|
||||||
COLE_EISNOTFILE, /* Directory entry is not a file */
|
COLE_EISNOTFILE, /* Directory entry is not a file */
|
||||||
COLE_EFILENOTFOUND, /* Doesn't exist a file with the given name */
|
COLE_EFILENOTFOUND, /* Doesn't exist a file with the given name */
|
||||||
COLE_EOF, /* End of file has been reached */
|
COLE_EOF, /* End of file has been reached */
|
||||||
COLE_EMEMBERISNOTDIR, /* A member of the filename is not
|
COLE_EMEMBERISNOTDIR, /* A member of the filename is not
|
||||||
a directory */
|
a directory */
|
||||||
COLE_EBROKENFILENAME, /* The filename is not right written */
|
COLE_EBROKENFILENAME, /* The filename is not right written */
|
||||||
COLE_EFILENAMEISNOTFILE,/* Filename is not a file */
|
COLE_EFILENAMEISNOTFILE,/* Filename is not a file */
|
||||||
COLE_EFSEEKDELTA, /* Delta argument is not valid */
|
COLE_EFSEEKDELTA, /* Delta argument is not valid */
|
||||||
COLE_EFSEEKFLAG, /* Flag argument is not valid */
|
COLE_EFSEEKFLAG, /* Flag argument is not valid */
|
||||||
COLE_EUNKNOWN, /* An unknown error ocurred, can be a bug */
|
COLE_EUNKNOWN, /* An unknown error ocurred, can be a bug */
|
||||||
COLE_ELAST /* Leave this at last place */
|
COLE_ELAST /* Leave this at last place */
|
||||||
};
|
};
|
||||||
typedef enum _COLERRNO COLERRNO;
|
typedef enum _COLERRNO COLERRNO;
|
||||||
|
|
||||||
void cole_perror (const char *s, COLERRNO colerrno);
|
void cole_perror (const char *s, COLERRNO colerrno);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* other enums
|
* other enums
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
enum _COLE_SEEK_FLAG
|
enum _COLE_SEEK_FLAG
|
||||||
{
|
{
|
||||||
COLE_SEEK_SET,
|
COLE_SEEK_SET,
|
||||||
COLE_SEEK_FORWARD,
|
COLE_SEEK_FORWARD,
|
||||||
COLE_SEEK_BACKWARD,
|
COLE_SEEK_BACKWARD,
|
||||||
COLE_SEEK_END
|
COLE_SEEK_END
|
||||||
};
|
};
|
||||||
typedef enum _COLE_SEEK_FLAG COLE_SEEK_FLAG;
|
typedef enum _COLE_SEEK_FLAG COLE_SEEK_FLAG;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* structures
|
* structures
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
/* These are opaque data types, because the internal structure will change */
|
/* These are opaque data types, because the internal structure will change */
|
||||||
typedef struct _COLEFS COLEFS;
|
typedef struct _COLEFS COLEFS;
|
||||||
typedef struct _COLEDIR COLEDIR;
|
typedef struct _COLEDIR COLEDIR;
|
||||||
typedef struct _COLEDIRENT COLEDIRENT;
|
typedef struct _COLEDIRENT COLEDIRENT;
|
||||||
typedef struct _COLEFILE COLEFILE;
|
typedef struct _COLEFILE COLEFILE;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* functions types
|
* functions types
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
typedef int (COLE_RECURSE_DIR_FUNC) (COLEDIR *coledir,
|
typedef int (COLE_RECURSE_DIR_FUNC) (COLEDIR *coledir,
|
||||||
void *info,
|
void *info,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
typedef int (COLE_RECURSE_DIRENT_FUNC) (COLEDIRENT *coledirentry,
|
typedef int (COLE_RECURSE_DIRENT_FUNC) (COLEDIRENT *coledirentry,
|
||||||
void *info,
|
void *info,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
typedef int (COLE_RECURSE_VISIT_DIR_FUNC) (COLEDIR *coledir,
|
typedef int (COLE_RECURSE_VISIT_DIR_FUNC) (COLEDIR *coledir,
|
||||||
void *info);
|
void *info);
|
||||||
typedef void (COLE_LOCATE_ACTION_FUNC) (COLEDIRENT *coledirentry,
|
typedef void (COLE_LOCATE_ACTION_FUNC) (COLEDIRENT *coledirentry,
|
||||||
void *info);
|
void *info);
|
||||||
/*
|
/*
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
* calls
|
* calls
|
||||||
* **********************************************************************
|
* **********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* filesystem
|
* filesystem
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEFS * cole_mount (char *filename,
|
COLEFS * cole_mount (char *filename,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_umount (COLEFS *colefilesystem,
|
int cole_umount (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_print_tree (COLEFS *colefilesystem,
|
int cole_print_tree (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_locate_filename (COLEFS *colefilesystem,
|
int cole_locate_filename (COLEFS *colefilesystem,
|
||||||
char *filename,
|
char *filename,
|
||||||
void *info,
|
void *info,
|
||||||
COLE_LOCATE_ACTION_FUNC *action,
|
COLE_LOCATE_ACTION_FUNC *action,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_recurse_tree (COLEFS *colefilesystem,
|
int cole_recurse_tree (COLEFS *colefilesystem,
|
||||||
void *info,
|
void *info,
|
||||||
COLE_RECURSE_DIR_FUNC *inroot,
|
COLE_RECURSE_DIR_FUNC *inroot,
|
||||||
COLE_RECURSE_DIRENT_FUNC *indirentry,
|
COLE_RECURSE_DIRENT_FUNC *indirentry,
|
||||||
COLE_RECURSE_DIR_FUNC *indir,
|
COLE_RECURSE_DIR_FUNC *indir,
|
||||||
COLE_RECURSE_DIR_FUNC *outdir,
|
COLE_RECURSE_DIR_FUNC *outdir,
|
||||||
COLE_RECURSE_VISIT_DIR_FUNC *visitdir,
|
COLE_RECURSE_VISIT_DIR_FUNC *visitdir,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
|
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* file
|
* file
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEFILE * cole_fopen (COLEFS *colefilesystem,
|
COLEFILE * cole_fopen (COLEFS *colefilesystem,
|
||||||
char *filename,
|
char *filename,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEFILE * cole_fopen_direntry (COLEDIRENT *coledirentry,
|
COLEFILE * cole_fopen_direntry (COLEDIRENT *coledirentry,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_fclose (COLEFILE *colefile,
|
int cole_fclose (COLEFILE *colefile,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
size_t cole_fsize (COLEFILE *colefile);
|
size_t cole_fsize (COLEFILE *colefile);
|
||||||
size_t cole_fread (COLEFILE *colefile,
|
size_t cole_fread (COLEFILE *colefile,
|
||||||
void *ptr,
|
void *ptr,
|
||||||
size_t size,
|
size_t size,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_feof (COLEFILE *colefile);
|
int cole_feof (COLEFILE *colefile);
|
||||||
size_t cole_ftell (COLEFILE *colefile);
|
size_t cole_ftell (COLEFILE *colefile);
|
||||||
int cole_fseek (COLEFILE *colefile,
|
int cole_fseek (COLEFILE *colefile,
|
||||||
size_t delta,
|
size_t delta,
|
||||||
COLE_SEEK_FLAG direction,
|
COLE_SEEK_FLAG direction,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_frewind (COLEFILE *colefile,
|
int cole_frewind (COLEFILE *colefile,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
|
|
||||||
/* ***********
|
/* ***********
|
||||||
* directory and directory entry
|
* directory and directory entry
|
||||||
* ***********/
|
* ***********/
|
||||||
COLEDIR * cole_opendir_rootdir (COLEFS *colefilesystem,
|
COLEDIR * cole_opendir_rootdir (COLEFS *colefilesystem,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEDIR * cole_opendir_direntry (COLEDIRENT *coledirentry,
|
COLEDIR * cole_opendir_direntry (COLEDIRENT *coledirentry,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
int cole_closedir (COLEDIR *coledir,
|
int cole_closedir (COLEDIR *coledir,
|
||||||
COLERRNO *colerrno);
|
COLERRNO *colerrno);
|
||||||
COLEDIRENT * cole_visiteddirentry (COLEDIR *coledir);
|
COLEDIRENT * cole_visiteddirentry (COLEDIR *coledir);
|
||||||
COLEDIRENT * cole_nextdirentry (COLEDIR *coledir);
|
COLEDIRENT * cole_nextdirentry (COLEDIR *coledir);
|
||||||
char * cole_dir_getname (COLEDIR *coledir);
|
char * cole_dir_getname (COLEDIR *coledir);
|
||||||
size_t cole_dir_getsize (COLEDIR *coledir);
|
size_t cole_dir_getsize (COLEDIR *coledir);
|
||||||
long cole_dir_getdays1 (COLEDIR *coledir);
|
long cole_dir_getdays1 (COLEDIR *coledir);
|
||||||
long cole_dir_getsec1 (COLEDIR *coledir);
|
long cole_dir_getsec1 (COLEDIR *coledir);
|
||||||
long cole_dir_getdays2 (COLEDIR *coledir);
|
long cole_dir_getdays2 (COLEDIR *coledir);
|
||||||
long cole_dir_getsec2 (COLEDIR *coledir);
|
long cole_dir_getsec2 (COLEDIR *coledir);
|
||||||
char * cole_direntry_getname (COLEDIRENT *coledirentry);
|
char * cole_direntry_getname (COLEDIRENT *coledirentry);
|
||||||
size_t cole_direntry_getsize (COLEDIRENT *coledirentry);
|
size_t cole_direntry_getsize (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getdays1 (COLEDIRENT *coledirentry);
|
long cole_direntry_getdays1 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getsec1 (COLEDIRENT *coledirentry);
|
long cole_direntry_getsec1 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getdays2 (COLEDIRENT *coledirentry);
|
long cole_direntry_getdays2 (COLEDIRENT *coledirentry);
|
||||||
long cole_direntry_getsec2 (COLEDIRENT *coledirentry);
|
long cole_direntry_getsec2 (COLEDIRENT *coledirentry);
|
||||||
int cole_direntry_isdir (COLEDIRENT *coledirentry);
|
int cole_direntry_isdir (COLEDIRENT *coledirentry);
|
||||||
int cole_direntry_isfile (COLEDIRENT *coledirentry);
|
int cole_direntry_isfile (COLEDIRENT *coledirentry);
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __COLE_H */
|
#endif /* __COLE_H */
|
||||||
|
|
||||||
|
|||||||
326
cole/doc/HACKING
326
cole/doc/HACKING
@@ -1,163 +1,163 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
Pre-hacking:
|
Pre-hacking:
|
||||||
************
|
************
|
||||||
|
|
||||||
If you want to play, you'll need:
|
If you want to play, you'll need:
|
||||||
+ An ANSI C system (libraries and C compiler).
|
+ An ANSI C system (libraries and C compiler).
|
||||||
+ GNU m4, GNU automake-1.4, GNU autoconf 2.13 and GNU libtool 1.3.2
|
+ GNU m4, GNU automake-1.4, GNU autoconf 2.13 and GNU libtool 1.3.2
|
||||||
if you want to change `configure.in' or some `Makefile.am'.
|
if you want to change `configure.in' or some `Makefile.am'.
|
||||||
+ DocBook 3.x tools and gtk-doc
|
+ DocBook 3.x tools and gtk-doc
|
||||||
(from GNOME CVS (http://cvs.gnome.org/)) if you want to make
|
(from GNOME CVS (http://cvs.gnome.org/)) if you want to make
|
||||||
a distribution.
|
a distribution.
|
||||||
|
|
||||||
|
|
||||||
Tests:
|
Tests:
|
||||||
******
|
******
|
||||||
|
|
||||||
If you write a new public call, write their documentation: see comments before the implementation of other public calls, and write a test and put in in `examples' directory.
|
If you write a new public call, write their documentation: see comments before the implementation of other public calls, and write a test and put in in `examples' directory.
|
||||||
|
|
||||||
|
|
||||||
API:
|
API:
|
||||||
****
|
****
|
||||||
|
|
||||||
The API 2.x must be modelled after `stdio.h' ANSI C calls, but cleanner. This
|
The API 2.x must be modelled after `stdio.h' ANSI C calls, but cleanner. This
|
||||||
means the arguments must be the minimal that the call _really_ needs.
|
means the arguments must be the minimal that the call _really_ needs.
|
||||||
|
|
||||||
The last argument of most of calls must be `COLERRNO *colerrno'. This must be set if an error is found when calling some other call or a system call, but colerrno can be NULL, so always use `if (colerrno != NULL) *colerrno = COLE_...'.
|
The last argument of most of calls must be `COLERRNO *colerrno'. This must be set if an error is found when calling some other call or a system call, but colerrno can be NULL, so always use `if (colerrno != NULL) *colerrno = COLE_...'.
|
||||||
|
|
||||||
All the public calls neet to have a `COLERRNO *colerrno' argument, except those that simply can not fail.
|
All the public calls neet to have a `COLERRNO *colerrno' argument, except those that simply can not fail.
|
||||||
|
|
||||||
If you create a new error code, insert it in the list of the colerrno argument in the document comment above the function with the new error code, insert in enum _COLERRNO, add a comment there, add an entry in cole_perror and review all the sources that call the function that have the new error code in order to catch the new error (inclusive utils and examples directories).
|
If you create a new error code, insert it in the list of the colerrno argument in the document comment above the function with the new error code, insert in enum _COLERRNO, add a comment there, add an entry in cole_perror and review all the sources that call the function that have the new error code in order to catch the new error (inclusive utils and examples directories).
|
||||||
|
|
||||||
When writting a call that calls another calls which returns colerrno, say in documentation something like: ` * @colerrno: error value (COLE_AAA, errors from calls cole_XXX(), cole_XXY() and COLE_XXZ())' if the call that you are writting calls cole_XXX, cole_XXY and COLE_XXZ and returns COLE_AAA by itself.
|
When writting a call that calls another calls which returns colerrno, say in documentation something like: ` * @colerrno: error value (COLE_AAA, errors from calls cole_XXX(), cole_XXY() and COLE_XXZ())' if the call that you are writting calls cole_XXX, cole_XXY and COLE_XXZ and returns COLE_AAA by itself.
|
||||||
|
|
||||||
|
|
||||||
Implementation:
|
Implementation:
|
||||||
***************
|
***************
|
||||||
|
|
||||||
When you write the code to check the return value from a function with switch, always write a default case (in the most cases the default case will return a COLE_UNKNOWN). If you use if's, write an else case.
|
When you write the code to check the return value from a function with switch, always write a default case (in the most cases the default case will return a COLE_UNKNOWN). If you use if's, write an else case.
|
||||||
|
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
**************
|
**************
|
||||||
|
|
||||||
If you modified `cole-manual.sgml', you must run `make html' in the `doc'
|
If you modified `cole-manual.sgml', you must run `make html' in the `doc'
|
||||||
subdirectory.
|
subdirectory.
|
||||||
|
|
||||||
If you modified the templates, you must run `make sgml' and then `make html'
|
If you modified the templates, you must run `make sgml' and then `make html'
|
||||||
in the `doc' subdirectory.
|
in the `doc' subdirectory.
|
||||||
|
|
||||||
If you modified `cole-sections.txt'... well, I guess you must run
|
If you modified `cole-sections.txt'... well, I guess you must run
|
||||||
`make templates' and then `make sgml' and then `make html' in the `doc'
|
`make templates' and then `make sgml' and then `make html' in the `doc'
|
||||||
subdirectory (but I'm not sure because I'm lerning this gtk-doc thing).
|
subdirectory (but I'm not sure because I'm lerning this gtk-doc thing).
|
||||||
|
|
||||||
If you changed the existing comment of a function, structure, etc, you must
|
If you changed the existing comment of a function, structure, etc, you must
|
||||||
run `make sgml' and then `make html' in the `doc' subdirectory.
|
run `make sgml' and then `make html' in the `doc' subdirectory.
|
||||||
|
|
||||||
If you changed the parameters of some function, run `make templates' and then
|
If you changed the parameters of some function, run `make templates' and then
|
||||||
`make sgml' and then `make html'.
|
`make sgml' and then `make html'.
|
||||||
|
|
||||||
If you added, renamed or deleted some function, well you tell me what to do.
|
If you added, renamed or deleted some function, well you tell me what to do.
|
||||||
|
|
||||||
All targets in the `Makefile' in the `doc' subdirectory modifies sources, that
|
All targets in the `Makefile' in the `doc' subdirectory modifies sources, that
|
||||||
way the documentation can be updated when checked in CVS.
|
way the documentation can be updated when checked in CVS.
|
||||||
|
|
||||||
Before you regenerate documentation, must have a build directory with all the
|
Before you regenerate documentation, must have a build directory with all the
|
||||||
code compiled, because `cole.h' file is needed.
|
code compiled, because `cole.h' file is needed.
|
||||||
|
|
||||||
|
|
||||||
FlashPix file format:
|
FlashPix file format:
|
||||||
*********************
|
*********************
|
||||||
|
|
||||||
Seems to me that "Root Entry" pps number is zero (like MS files), but it has
|
Seems to me that "Root Entry" pps number is zero (like MS files), but it has
|
||||||
no name! I mean, pps_list[0].type == 5, but pps_list[0].name[0] == 0.
|
no name! I mean, pps_list[0].type == 5, but pps_list[0].name[0] == 0.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**********************
|
**********************
|
||||||
* OLD HACKING DOCUMENT
|
* OLD HACKING DOCUMENT
|
||||||
**********************
|
**********************
|
||||||
|
|
||||||
|
|
||||||
Hacking:
|
Hacking:
|
||||||
********
|
********
|
||||||
|
|
||||||
Ok, next few lines are for people trying to understand the cole code.
|
Ok, next few lines are for people trying to understand the cole code.
|
||||||
|
|
||||||
to code a OLE2 file (which is done by OLEcode) is done it two fases:
|
to code a OLE2 file (which is done by OLEcode) is done it two fases:
|
||||||
process and generate.
|
process and generate.
|
||||||
|
|
||||||
process insert all the information in the Structure, and generate reads
|
process insert all the information in the Structure, and generate reads
|
||||||
this Structure and write the actual output_file (wich is an ole2 file) by
|
this Structure and write the actual output_file (wich is an ole2 file) by
|
||||||
copying real files and some parts of Structure to output_file.
|
copying real files and some parts of Structure to output_file.
|
||||||
|
|
||||||
in the generate stage we know the actual blocks where each stream is
|
in the generate stage we know the actual blocks where each stream is
|
||||||
stored, so in this stage this start block is written in Root.
|
stored, so in this stage this start block is written in Root.
|
||||||
|
|
||||||
functions of process stage starts with process_* and add_*.
|
functions of process stage starts with process_* and add_*.
|
||||||
functions of generating stage starts with generate_* and write_*.
|
functions of generating stage starts with generate_* and write_*.
|
||||||
|
|
||||||
the size property of `Root Entry' pps is the actual size of sbfile, and
|
the size property of `Root Entry' pps is the actual size of sbfile, and
|
||||||
always is a multiple of 0x40.
|
always is a multiple of 0x40.
|
||||||
|
|
||||||
A graph of Structure following:
|
A graph of Structure following:
|
||||||
|
|
||||||
[missing, remember me I must do it]
|
[missing, remember me I must do it]
|
||||||
|
|
||||||
size of Input (Input.size) is never used, it's no necessary. In any case,
|
size of Input (Input.size) is never used, it's no necessary. In any case,
|
||||||
what info we should write there? Same case as Input.blocks.
|
what info we should write there? Same case as Input.blocks.
|
||||||
|
|
||||||
somewhere in process stage, name of real files are copied by reference,
|
somewhere in process stage, name of real files are copied by reference,
|
||||||
that means two vars will point to the same memory posittion. one var is
|
that means two vars will point to the same memory posittion. one var is
|
||||||
in pps_entry * stream_list names, and the other is in sbfile and Input in
|
in pps_entry * stream_list names, and the other is in sbfile and Input in
|
||||||
Structure. But it's ok.
|
Structure. But it's ok.
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
a ole2 file can or not contain small streams. if there are, it will
|
a ole2 file can or not contain small streams. if there are, it will
|
||||||
have SDepot, although in Structure always SDepot exist,
|
have SDepot, although in Structure always SDepot exist,
|
||||||
SDepot->size == sbfile->size == 0 if file do not contain small streams
|
SDepot->size == sbfile->size == 0 if file do not contain small streams
|
||||||
|
|
||||||
it seems to me a ole2 file could not have big streams, just small streams. BUT it will at least one block that is taken by BDepot, because in BDepot store block chains for SDepot and Root
|
it seems to me a ole2 file could not have big streams, just small streams. BUT it will at least one block that is taken by BDepot, because in BDepot store block chains for SDepot and Root
|
||||||
|
|
||||||
It seems that Solaris doesn't like directories as targets... must be a file.
|
It seems that Solaris doesn't like directories as targets... must be a file.
|
||||||
This is a problem in doc/Makefile.
|
This is a problem in doc/Makefile.
|
||||||
|
|
||||||
about the code:
|
about the code:
|
||||||
it's spaguetticode. I know. Long var names. I know. Help me to fix it.
|
it's spaguetticode. I know. Long var names. I know. Help me to fix it.
|
||||||
comments are generally after the line it comments, as explanation of what
|
comments are generally after the line it comments, as explanation of what
|
||||||
i have done.
|
i have done.
|
||||||
|
|
||||||
advices:
|
advices:
|
||||||
when doing a change, verify the program works with files with SDepot and
|
when doing a change, verify the program works with files with SDepot and
|
||||||
files with out SDepot (files with or without small streams)
|
files with out SDepot (files with or without small streams)
|
||||||
|
|
||||||
if you change the version number, change it both in configure.in file and in doc/cole-manual.sgml.
|
if you change the version number, change it both in configure.in file and in doc/cole-manual.sgml.
|
||||||
|
|
||||||
|
|||||||
@@ -1,92 +1,92 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST = cole-manual.sgml \
|
EXTRA_DIST = cole-manual.sgml \
|
||||||
introduction.sgml \
|
introduction.sgml \
|
||||||
compile.sgml \
|
compile.sgml \
|
||||||
using.sgml \
|
using.sgml \
|
||||||
bugs.sgml \
|
bugs.sgml \
|
||||||
gpl.sgml \
|
gpl.sgml \
|
||||||
legal.sgml \
|
legal.sgml \
|
||||||
HACKING \
|
HACKING \
|
||||||
cole-manual.sgml-old
|
cole-manual.sgml-old
|
||||||
|
|
||||||
dist-hook: all
|
dist-hook: all
|
||||||
cp $(srcdir)/cole-sections.txt $(distdir)
|
cp $(srcdir)/cole-sections.txt $(distdir)
|
||||||
cp -r $(srcdir)/tmpl $(distdir)
|
cp -r $(srcdir)/tmpl $(distdir)
|
||||||
cp -r $(srcdir)/cole-manual $(distdir)
|
cp -r $(srcdir)/cole-manual $(distdir)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Headers to scan for declarations
|
# Headers to scan for declarations
|
||||||
scanned_headers = ../internal.h ../support.h ./cole.h
|
scanned_headers = ../internal.h ../support.h ./cole.h
|
||||||
|
|
||||||
|
|
||||||
# The name of the module.
|
# The name of the module.
|
||||||
DOC_MODULE = cole
|
DOC_MODULE = cole
|
||||||
|
|
||||||
# The top-level SGML file.
|
# The top-level SGML file.
|
||||||
DOC_MAIN_SGML_FILE = cole-manual.sgml
|
DOC_MAIN_SGML_FILE = cole-manual.sgml
|
||||||
|
|
||||||
# The directory containing the source code (if it contains documentation).
|
# The directory containing the source code (if it contains documentation).
|
||||||
DOC_SOURCE_DIR = $(top_srcdir)
|
DOC_SOURCE_DIR = $(top_srcdir)
|
||||||
|
|
||||||
# The directory where the documentation will be installed
|
# The directory where the documentation will be installed
|
||||||
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
|
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
scan:
|
scan:
|
||||||
cp $(top_builddir)/cole.h $(srcdir); \
|
cp $(top_builddir)/cole.h $(srcdir); \
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-scan --module=$(DOC_MODULE) $(scanned_headers); \
|
gtkdoc-scan --module=$(DOC_MODULE) $(scanned_headers); \
|
||||||
rm cole.h)
|
rm cole.h)
|
||||||
templates: scan
|
templates: scan
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-mktmpl --module=$(DOC_MODULE))
|
gtkdoc-mktmpl --module=$(DOC_MODULE))
|
||||||
sgml:
|
sgml:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR))
|
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR))
|
||||||
html:
|
html:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
||||||
db2html $(DOC_MAIN_SGML_FILE); \
|
db2html $(DOC_MAIN_SGML_FILE); \
|
||||||
rm BUGS)
|
rm BUGS)
|
||||||
rtf:
|
rtf:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
||||||
db2rtf $(DOC_MAIN_SGML_FILE); \
|
db2rtf $(DOC_MAIN_SGML_FILE); \
|
||||||
-rm BUGS)
|
-rm BUGS)
|
||||||
ps:
|
ps:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" | sed "s/&/&/g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" | sed "s/&/&/g" > BUGS; \
|
||||||
db2ps $(DOC_MAIN_SGML_FILE); \
|
db2ps $(DOC_MAIN_SGML_FILE); \
|
||||||
-rm BUGS)
|
-rm BUGS)
|
||||||
|
|
||||||
regenerate-all: templates sgml html
|
regenerate-all: templates sgml html
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
rm -f *~ *.bak *.hierarchy *.signals *.args; \
|
rm -f *~ *.bak *.hierarchy *.signals *.args; \
|
||||||
rm -fr DBTOHTML_OUTPUT_DIR* *.junk $(DOC_MODULE)-decl-list.txt)
|
rm -fr DBTOHTML_OUTPUT_DIR* *.junk $(DOC_MODULE)-decl-list.txt)
|
||||||
|
|
||||||
maintainer-clean-local: clean
|
maintainer-clean-local: clean
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
rm -rf sgml html cole-manual tmpl/*.bak; \
|
rm -rf sgml html cole-manual tmpl/*.bak; \
|
||||||
rm -rf $(DOC_MODULE)-decl.txt)
|
rm -rf $(DOC_MODULE)-decl.txt)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# if db2html generate subdirectories, it's broken the next rule
|
# if db2html generate subdirectories, it's broken the next rule
|
||||||
# install-data-local: all
|
# install-data-local: all
|
||||||
# $(INSTALL) -d $(TARGET_DIR)
|
# $(INSTALL) -d $(TARGET_DIR)
|
||||||
# $(INSTALL) ./cole-manual/* $(TARGET_DIR)
|
# $(INSTALL) ./cole-manual/* $(TARGET_DIR)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Solaris make doesn't like directory as a target...
|
## Solaris make doesn't like directory as a target...
|
||||||
|
|
||||||
.PHONY : ps rtf html sgml templates scan
|
.PHONY : ps rtf html sgml templates scan
|
||||||
|
|
||||||
|
|||||||
@@ -1,256 +1,256 @@
|
|||||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
libdir = @libdir@
|
libdir = @libdir@
|
||||||
infodir = @infodir@
|
infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
AUTOCONF = @AUTOCONF@
|
AUTOCONF = @AUTOCONF@
|
||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
COLE_MAJOR = @COLE_MAJOR@
|
COLE_MAJOR = @COLE_MAJOR@
|
||||||
COLE_MICRO = @COLE_MICRO@
|
COLE_MICRO = @COLE_MICRO@
|
||||||
COLE_MINOR = @COLE_MINOR@
|
COLE_MINOR = @COLE_MINOR@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
||||||
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
||||||
HOST_CPU = @HOST_CPU@
|
HOST_CPU = @HOST_CPU@
|
||||||
HOST_OS = @HOST_OS@
|
HOST_OS = @HOST_OS@
|
||||||
HOST_VENDOR = @HOST_VENDOR@
|
HOST_VENDOR = @HOST_VENDOR@
|
||||||
LD = @LD@
|
LD = @LD@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VERSION_INFO = @VERSION_INFO@
|
VERSION_INFO = @VERSION_INFO@
|
||||||
|
|
||||||
EXTRA_DIST = cole-manual.sgml introduction.sgml compile.sgml using.sgml bugs.sgml gpl.sgml legal.sgml HACKING cole-manual.sgml-old
|
EXTRA_DIST = cole-manual.sgml introduction.sgml compile.sgml using.sgml bugs.sgml gpl.sgml legal.sgml HACKING cole-manual.sgml-old
|
||||||
|
|
||||||
|
|
||||||
# Headers to scan for declarations
|
# Headers to scan for declarations
|
||||||
scanned_headers = ../internal.h ../support.h ./cole.h
|
scanned_headers = ../internal.h ../support.h ./cole.h
|
||||||
|
|
||||||
# The name of the module.
|
# The name of the module.
|
||||||
DOC_MODULE = cole
|
DOC_MODULE = cole
|
||||||
|
|
||||||
# The top-level SGML file.
|
# The top-level SGML file.
|
||||||
DOC_MAIN_SGML_FILE = cole-manual.sgml
|
DOC_MAIN_SGML_FILE = cole-manual.sgml
|
||||||
|
|
||||||
# The directory containing the source code (if it contains documentation).
|
# The directory containing the source code (if it contains documentation).
|
||||||
DOC_SOURCE_DIR = $(top_srcdir)
|
DOC_SOURCE_DIR = $(top_srcdir)
|
||||||
|
|
||||||
# The directory where the documentation will be installed
|
# The directory where the documentation will be installed
|
||||||
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
|
TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = gtar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||||
|
|
||||||
subdir = doc
|
subdir = doc
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
|
||||||
info-am:
|
info-am:
|
||||||
info: info-am
|
info: info-am
|
||||||
dvi-am:
|
dvi-am:
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
installcheck-am:
|
||||||
installcheck: installcheck-am
|
installcheck: installcheck-am
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
install-exec: install-exec-am
|
install-exec: install-exec-am
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
install: install-am
|
||||||
uninstall-am:
|
uninstall-am:
|
||||||
uninstall: uninstall-am
|
uninstall: uninstall-am
|
||||||
all-am: Makefile
|
all-am: Makefile
|
||||||
all-redirect: all-am
|
all-redirect: all-am
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-generic
|
mostlyclean-am: mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
clean-am: clean-generic mostlyclean-am clean-local
|
clean-am: clean-generic mostlyclean-am clean-local
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-generic clean-am
|
distclean-am: distclean-generic clean-am
|
||||||
-rm -f libtool
|
-rm -f libtool
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-generic distclean-am \
|
maintainer-clean-am: maintainer-clean-generic distclean-am \
|
||||||
maintainer-clean-local
|
maintainer-clean-local
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
|
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
|
||||||
installcheck-am installcheck install-exec-am install-exec \
|
installcheck-am installcheck install-exec-am install-exec \
|
||||||
install-data-am install-data install-am install uninstall-am uninstall \
|
install-data-am install-data install-am install uninstall-am uninstall \
|
||||||
all-redirect all-am all installdirs mostlyclean-generic \
|
all-redirect all-am all installdirs mostlyclean-generic \
|
||||||
distclean-generic clean-generic maintainer-clean-generic clean \
|
distclean-generic clean-generic maintainer-clean-generic clean \
|
||||||
mostlyclean distclean maintainer-clean
|
mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
dist-hook: all
|
dist-hook: all
|
||||||
cp $(srcdir)/cole-sections.txt $(distdir)
|
cp $(srcdir)/cole-sections.txt $(distdir)
|
||||||
cp -r $(srcdir)/tmpl $(distdir)
|
cp -r $(srcdir)/tmpl $(distdir)
|
||||||
cp -r $(srcdir)/cole-manual $(distdir)
|
cp -r $(srcdir)/cole-manual $(distdir)
|
||||||
|
|
||||||
scan:
|
scan:
|
||||||
cp $(top_builddir)/cole.h $(srcdir); \
|
cp $(top_builddir)/cole.h $(srcdir); \
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-scan --module=$(DOC_MODULE) $(scanned_headers); \
|
gtkdoc-scan --module=$(DOC_MODULE) $(scanned_headers); \
|
||||||
rm cole.h)
|
rm cole.h)
|
||||||
templates: scan
|
templates: scan
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-mktmpl --module=$(DOC_MODULE))
|
gtkdoc-mktmpl --module=$(DOC_MODULE))
|
||||||
sgml:
|
sgml:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR))
|
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR))
|
||||||
html:
|
html:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
||||||
db2html $(DOC_MAIN_SGML_FILE); \
|
db2html $(DOC_MAIN_SGML_FILE); \
|
||||||
rm BUGS)
|
rm BUGS)
|
||||||
rtf:
|
rtf:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" > BUGS; \
|
||||||
db2rtf $(DOC_MAIN_SGML_FILE); \
|
db2rtf $(DOC_MAIN_SGML_FILE); \
|
||||||
-rm BUGS)
|
-rm BUGS)
|
||||||
ps:
|
ps:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" | sed "s/&/&/g" > BUGS; \
|
cat ../BUGS | sed "s/>/>/g" | sed "s/</</g" | sed "s/&/&/g" > BUGS; \
|
||||||
db2ps $(DOC_MAIN_SGML_FILE); \
|
db2ps $(DOC_MAIN_SGML_FILE); \
|
||||||
-rm BUGS)
|
-rm BUGS)
|
||||||
|
|
||||||
regenerate-all: templates sgml html
|
regenerate-all: templates sgml html
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
rm -f *~ *.bak *.hierarchy *.signals *.args; \
|
rm -f *~ *.bak *.hierarchy *.signals *.args; \
|
||||||
rm -fr DBTOHTML_OUTPUT_DIR* *.junk $(DOC_MODULE)-decl-list.txt)
|
rm -fr DBTOHTML_OUTPUT_DIR* *.junk $(DOC_MODULE)-decl-list.txt)
|
||||||
|
|
||||||
maintainer-clean-local: clean
|
maintainer-clean-local: clean
|
||||||
(cd $(srcdir); \
|
(cd $(srcdir); \
|
||||||
rm -rf sgml html cole-manual tmpl/*.bak; \
|
rm -rf sgml html cole-manual tmpl/*.bak; \
|
||||||
rm -rf $(DOC_MODULE)-decl.txt)
|
rm -rf $(DOC_MODULE)-decl.txt)
|
||||||
|
|
||||||
# if db2html generate subdirectories, it's broken the next rule
|
# if db2html generate subdirectories, it's broken the next rule
|
||||||
# install-data-local: all
|
# install-data-local: all
|
||||||
# $(INSTALL) -d $(TARGET_DIR)
|
# $(INSTALL) -d $(TARGET_DIR)
|
||||||
# $(INSTALL) ./cole-manual/* $(TARGET_DIR)
|
# $(INSTALL) ./cole-manual/* $(TARGET_DIR)
|
||||||
|
|
||||||
.PHONY : ps rtf html sgml templates scan
|
.PHONY : ps rtf html sgml templates scan
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
@@ -1,39 +1,39 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
cole developers have done their best effort to fix all the bugs of cole. But may be some of the are still hidden in the code. If you found one (or many!), please send a report to the maintainer (&maintainer-email-ulink;). When sending a report, please:
|
cole developers have done their best effort to fix all the bugs of cole. But may be some of the are still hidden in the code. If you found one (or many!), please send a report to the maintainer (&maintainer-email-ulink;). When sending a report, please:
|
||||||
</para>
|
</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Describe with detail the behavior of cole and why you think it's a bug.
|
Describe with detail the behavior of cole and why you think it's a bug.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Configure cole using the argument <link linkend="how-to-compile">--enable-verbose</link> and send the output showing the bug.
|
Configure cole using the argument <link linkend="how-to-compile">--enable-verbose</link> and send the output showing the bug.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Send the content of the variables <link linkend="cole-version">cole_version</link> and <link linkend="cole-host-info">cole_host_info</link> that the cole release you are using have. You wil have to write a little program to do this, but it will help much. =)
|
Send the content of the variables <link linkend="cole-version">cole_version</link> and <link linkend="cole-host-info">cole_host_info</link> that the cole release you are using have. You wil have to write a little program to do this, but it will help much. =)
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
If you can, send the most small source code that shows the bug in action. May be you want to send the Structured Storage file you have been processing.
|
If you can, send the most small source code that shows the bug in action. May be you want to send the Structured Storage file you have been processing.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
You can send the files <filename>config.log</filename> and <filename>config.cache</filename> (which were created by <filename>configure</filename>) if you want.
|
You can send the files <filename>config.log</filename> and <filename>config.cache</filename> (which were created by <filename>configure</filename>) if you want.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
<para>
|
<para>
|
||||||
Thank you very much.
|
Thank you very much.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Following is the <filename>BUGS</filename> file for this release.
|
Following is the <filename>BUGS</filename> file for this release.
|
||||||
</para>
|
</para>
|
||||||
<screen>&BUGS-File;</screen>
|
<screen>&BUGS-File;</screen>
|
||||||
|
|
||||||
|
|||||||
@@ -1,73 +1,73 @@
|
|||||||
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
||||||
<!entity Introduction SYSTEM "introduction.sgml">
|
<!entity Introduction SYSTEM "introduction.sgml">
|
||||||
<!entity Using-cole SYSTEM "using.sgml">
|
<!entity Using-cole SYSTEM "using.sgml">
|
||||||
<!entity Bugs SYSTEM "bugs.sgml">
|
<!entity Bugs SYSTEM "bugs.sgml">
|
||||||
<!entity BUGS-File SYSTEM "BUGS">
|
<!entity BUGS-File SYSTEM "BUGS">
|
||||||
<!entity GPL-License-Chapter SYSTEM "gpl.sgml">
|
<!entity GPL-License-Chapter SYSTEM "gpl.sgml">
|
||||||
<!entity Legal SYSTEM "legal.sgml">
|
<!entity Legal SYSTEM "legal.sgml">
|
||||||
<!entity cole-Internals SYSTEM "sgml/internals.sgml">
|
<!entity cole-Internals SYSTEM "sgml/internals.sgml">
|
||||||
<!entity cole-API SYSTEM "sgml/api.sgml">
|
<!entity cole-API SYSTEM "sgml/api.sgml">
|
||||||
<!entity How-To-Compile SYSTEM "compile.sgml">
|
<!entity How-To-Compile SYSTEM "compile.sgml">
|
||||||
|
|
||||||
<!entity author-name-full "Roberto Arturo Tena Sánchez">
|
<!entity author-name-full "Roberto Arturo Tena Sánchez">
|
||||||
<!entity maintainer-email-ulink "<ulink
|
<!entity maintainer-email-ulink "<ulink
|
||||||
URL="mailto:arturo@directmail.org"
|
URL="mailto:arturo@directmail.org"
|
||||||
><arturo@directmail.org></ulink>">
|
><arturo@directmail.org></ulink>">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<book id="index">
|
<book id="index">
|
||||||
|
|
||||||
|
|
||||||
<bookinfo>
|
<bookinfo>
|
||||||
<title>cole Library Reference Manual</title>
|
<title>cole Library Reference Manual</title>
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>1998, 1999</year>
|
<year>1998, 1999</year>
|
||||||
<holder>&author-name-full;</holder>
|
<holder>&author-name-full;</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
</bookinfo>
|
</bookinfo>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="introduction">
|
<chapter id="introduction">
|
||||||
<title>Introduction</title>
|
<title>Introduction</title>
|
||||||
&Introduction;
|
&Introduction;
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="how-to-compile">
|
<chapter id="how-to-compile">
|
||||||
<title>How to compile cole</title>
|
<title>How to compile cole</title>
|
||||||
&How-To-Compile;
|
&How-To-Compile;
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="libcole">
|
<chapter id="libcole">
|
||||||
<title>cole Library</title>
|
<title>cole Library</title>
|
||||||
<para>
|
<para>
|
||||||
This is the documentation autogenerated from the source code. It have the cole <link linkend="cole-API">API</link> for this release, and some internal structures and internal calls.
|
This is the documentation autogenerated from the source code. It have the cole <link linkend="cole-API">API</link> for this release, and some internal structures and internal calls.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Note: what Microsoft calls <userinput>stream</userinput> is called <userinput>file</userinput> in this project, <userinput>storage</userinput> is called <userinput>directory</userinput> and <userinput>docfile</userinput> (a Structured Storage file) is called <userinput>filesystem</userinput>.
|
Note: what Microsoft calls <userinput>stream</userinput> is called <userinput>file</userinput> in this project, <userinput>storage</userinput> is called <userinput>directory</userinput> and <userinput>docfile</userinput> (a Structured Storage file) is called <userinput>filesystem</userinput>.
|
||||||
</para>
|
</para>
|
||||||
&Using-cole;
|
&Using-cole;
|
||||||
|
|
||||||
&cole-API;
|
&cole-API;
|
||||||
&cole-Internals;
|
&cole-Internals;
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="bugs">
|
<chapter id="bugs">
|
||||||
<title>Bugs</title>
|
<title>Bugs</title>
|
||||||
&Bugs;
|
&Bugs;
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|
||||||
<chapter id="legal-issues">
|
<chapter id="legal-issues">
|
||||||
<title>Legal issues</title>
|
<title>Legal issues</title>
|
||||||
&Legal;
|
&Legal;
|
||||||
</chapter> <!-- legal-issues -->
|
</chapter> <!-- legal-issues -->
|
||||||
|
|
||||||
|
|
||||||
&GPL-License-Chapter;
|
&GPL-License-Chapter;
|
||||||
|
|
||||||
|
|
||||||
</book>
|
</book>
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,223 +1,223 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Bugs</TITLE
|
>Bugs</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Internals"
|
TITLE="Internals"
|
||||||
HREF="cole-internals.html"><LINK
|
HREF="cole-internals.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Legal issues"
|
TITLE="Legal issues"
|
||||||
HREF="legal-issues.html"></HEAD
|
HREF="legal-issues.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="cole-internals.html"
|
HREF="cole-internals.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="BUGS"
|
NAME="BUGS"
|
||||||
>Chapter 4. Bugs</A
|
>Chapter 4. Bugs</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> cole developers have done their best effort to fix all the bugs of cole. But may be some of the are still hidden in the code. If you found one (or many!), please send a report to the maintainer (<A
|
> cole developers have done their best effort to fix all the bugs of cole. But may be some of the are still hidden in the code. If you found one (or many!), please send a report to the maintainer (<A
|
||||||
HREF="mailto:arturo@directmail.org"
|
HREF="mailto:arturo@directmail.org"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
><arturo@directmail.org></A
|
><arturo@directmail.org></A
|
||||||
>). When sending a report, please:</P
|
>). When sending a report, please:</P
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><OL
|
><OL
|
||||||
TYPE="1"
|
TYPE="1"
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Describe with detail the behavior of cole and why you think it's a bug.
|
> Describe with detail the behavior of cole and why you think it's a bug.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Configure cole using the argument <A
|
> Configure cole using the argument <A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>--enable-verbose</A
|
>--enable-verbose</A
|
||||||
> and send the output showing the bug.
|
> and send the output showing the bug.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Send the content of the variables <A
|
> Send the content of the variables <A
|
||||||
HREF="cole-api.html#COLE-VERSION"
|
HREF="cole-api.html#COLE-VERSION"
|
||||||
>cole_version</A
|
>cole_version</A
|
||||||
> and <A
|
> and <A
|
||||||
HREF="cole-api.html#COLE-HOST-INFO"
|
HREF="cole-api.html#COLE-HOST-INFO"
|
||||||
>cole_host_info</A
|
>cole_host_info</A
|
||||||
> that the cole release you are using have. You wil have to write a little program to do this, but it will help much. =)
|
> that the cole release you are using have. You wil have to write a little program to do this, but it will help much. =)
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> If you can, send the most small source code that shows the bug in action. May be you want to send the Structured Storage file you have been processing.
|
> If you can, send the most small source code that shows the bug in action. May be you want to send the Structured Storage file you have been processing.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> You can send the files <TT
|
> You can send the files <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>config.log</TT
|
>config.log</TT
|
||||||
> and <TT
|
> and <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>config.cache</TT
|
>config.cache</TT
|
||||||
> (which were created by <TT
|
> (which were created by <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
>) if you want.
|
>) if you want.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
></OL
|
></OL
|
||||||
><P
|
><P
|
||||||
> Thank you very much.</P
|
> Thank you very much.</P
|
||||||
><P
|
><P
|
||||||
> Following is the <TT
|
> Following is the <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>BUGS</TT
|
>BUGS</TT
|
||||||
> file for this release.</P
|
> file for this release.</P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
BGCOLOR="#E0E0E0"
|
BGCOLOR="#E0E0E0"
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
><PRE
|
><PRE
|
||||||
CLASS="SCREEN"
|
CLASS="SCREEN"
|
||||||
> Report bugs to the maintainer (see the file `AUTHORS' for details).
|
> Report bugs to the maintainer (see the file `AUTHORS' for details).
|
||||||
Please, along with your detailed report, send the cole's output when compiled
|
Please, along with your detailed report, send the cole's output when compiled
|
||||||
using `--enable-verbose' (see the files `README' and `INSTALL' for details).
|
using `--enable-verbose' (see the files `README' and `INSTALL' for details).
|
||||||
|
|
||||||
|
|
||||||
Current bugs:
|
Current bugs:
|
||||||
**************
|
**************
|
||||||
|
|
||||||
None.
|
None.
|
||||||
|
|
||||||
|
|
||||||
Fixed bugs:
|
Fixed bugs:
|
||||||
************
|
************
|
||||||
|
|
||||||
Reported that cole can't read files biggers that 8Mb. UPDATE: oledecod.c is
|
Reported that cole can't read files biggers that 8Mb. UPDATE: oledecod.c is
|
||||||
changed now to read additional blocks to the bbd. This fixes the bug.
|
changed now to read additional blocks to the bbd. This fixes the bug.
|
||||||
|
|
||||||
Reported strange bug in cole 0.1.0 using Solaris using `../demo sprsheet.xls'
|
Reported strange bug in cole 0.1.0 using Solaris using `../demo sprsheet.xls'
|
||||||
in examples directory. We need more test there! UPDATE: Seems to be fixed in
|
in examples directory. We need more test there! UPDATE: Seems to be fixed in
|
||||||
cole 1.0.0 with the endianess care code.
|
cole 1.0.0 with the endianess care code.
|
||||||
|
|
||||||
|
|
||||||
Possible bugs:
|
Possible bugs:
|
||||||
**************
|
**************
|
||||||
|
|
||||||
* cole is not reentrant safe (it's in TODO):
|
* cole is not reentrant safe (it's in TODO):
|
||||||
What happend if, in any program, one user tries to decode and/or code
|
What happend if, in any program, one user tries to decode and/or code
|
||||||
two files (the same or diferent)? Because static vars, will it get
|
two files (the same or diferent)? Because static vars, will it get
|
||||||
broke? I think yes, mmmh... </PRE
|
broke? I think yes, mmmh... </PRE
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="cole-internals.html"
|
HREF="cole-internals.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Internals</TD
|
>Internals</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Legal issues</TD
|
>Legal issues</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,137 +1,137 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Copyright and disclaimer</TITLE
|
>Copyright and disclaimer</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="Legal issues"
|
TITLE="Legal issues"
|
||||||
HREF="legal-issues.html"><LINK
|
HREF="legal-issues.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Trademarks"
|
TITLE="Trademarks"
|
||||||
HREF="trademarks.html"><LINK
|
HREF="trademarks.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="GNU GENERAL PUBLIC LICENSE
|
TITLE="GNU GENERAL PUBLIC LICENSE
|
||||||
"
|
"
|
||||||
HREF="gpl-license.html"></HEAD
|
HREF="gpl-license.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 5. Legal issues</TD
|
>Chapter 5. Legal issues</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="COPYRIGHT-AND-DISCLAIMER"
|
NAME="COPYRIGHT-AND-DISCLAIMER"
|
||||||
>Copyright and disclaimer</A
|
>Copyright and disclaimer</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> This document is copyright 1999 by Roberto Arturo Tena S<>nchez. This document is free software; you can redistribute it and/or modify it under the terms of the <A
|
> This document is copyright 1999 by Roberto Arturo Tena S<>nchez. This document is free software; you can redistribute it and/or modify it under the terms of the <A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>GNU General Public License</A
|
>GNU General Public License</A
|
||||||
> as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</P
|
> as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</P
|
||||||
><P
|
><P
|
||||||
> This document is provided as is without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this document, the author/maintainer/contributors assume(s) no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.</P
|
> This document is provided as is without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this document, the author/maintainer/contributors assume(s) no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Trademarks</TD
|
>Trademarks</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>GNU GENERAL PUBLIC LICENSE</TD
|
>GNU GENERAL PUBLIC LICENSE</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
.BOOK .TITLE { text-align: center }
|
.BOOK .TITLE { text-align: center }
|
||||||
.BOOK .SUBTITLE { text-align: center }
|
.BOOK .SUBTITLE { text-align: center }
|
||||||
.BOOK .CORPAUTHOR { text-align: center }
|
.BOOK .CORPAUTHOR { text-align: center }
|
||||||
.BOOK .AUTHOR { text-align: center }
|
.BOOK .AUTHOR { text-align: center }
|
||||||
.BOOK .AFFILIATION { text-align: center }
|
.BOOK .AFFILIATION { text-align: center }
|
||||||
.BOOK .EDITEDBY { text-align: center }
|
.BOOK .EDITEDBY { text-align: center }
|
||||||
.BOOK .EDITOR { text-align: center }
|
.BOOK .EDITOR { text-align: center }
|
||||||
.BOOK .GRAPHIC { text-align: center }
|
.BOOK .GRAPHIC { text-align: center }
|
||||||
|
|
||||||
.ARTICLE .TITLE { text-align: center }
|
.ARTICLE .TITLE { text-align: center }
|
||||||
.ARTICLE .SUBTITLE { text-align: center }
|
.ARTICLE .SUBTITLE { text-align: center }
|
||||||
.ARTICLE .CORPAUTHOR { text-align: center }
|
.ARTICLE .CORPAUTHOR { text-align: center }
|
||||||
.ARTICLE .AUTHOR { text-align: center }
|
.ARTICLE .AUTHOR { text-align: center }
|
||||||
.ARTICLE .AFFILIATION { text-align: center }
|
.ARTICLE .AFFILIATION { text-align: center }
|
||||||
.ARTICLE .EDITEDBY { text-align: center }
|
.ARTICLE .EDITEDBY { text-align: center }
|
||||||
.ARTICLE .EDITOR { text-align: center }
|
.ARTICLE .EDITOR { text-align: center }
|
||||||
.ARTICLE .GRAPHIC { text-align: center }
|
.ARTICLE .GRAPHIC { text-align: center }
|
||||||
.ARTICLE .ABSTRACT { margin-left: 0.5in;
|
.ARTICLE .ABSTRACT { margin-left: 0.5in;
|
||||||
margin-right: 0.5in;
|
margin-right: 0.5in;
|
||||||
font-style: italic }
|
font-style: italic }
|
||||||
|
|||||||
@@ -1,199 +1,199 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Features</TITLE
|
>Features</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="Introduction"
|
TITLE="Introduction"
|
||||||
HREF="introduction.html"><LINK
|
HREF="introduction.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Introduction"
|
TITLE="Introduction"
|
||||||
HREF="introduction.html"><LINK
|
HREF="introduction.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Requirements to compile"
|
TITLE="Requirements to compile"
|
||||||
HREF="requirements-to-compile.html"></HEAD
|
HREF="requirements-to-compile.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 1. Introduction</TD
|
>Chapter 1. Introduction</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="FEATURES"
|
NAME="FEATURES"
|
||||||
>Features</A
|
>Features</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
>cole 2.x release series:</P
|
>cole 2.x release series:</P
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><UL
|
><UL
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Can open Structured Storage files generated with programs from Microsoft, StarDivision and FlashPix.
|
> Can open Structured Storage files generated with programs from Microsoft, StarDivision and FlashPix.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Is written in C, for better performance.
|
> Is written in C, for better performance.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Should compile in UNIX-like systems with ANSI C libraries and a ANSI C compiler.
|
> Should compile in UNIX-like systems with ANSI C libraries and a ANSI C compiler.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Has a new good-looking API, modelled after ANSI C <TT
|
> Has a new good-looking API, modelled after ANSI C <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>stdio.h</TT
|
>stdio.h</TT
|
||||||
> routines.
|
> routines.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Uses standard automake, autoconf and libtool generated files.
|
> Uses standard automake, autoconf and libtool generated files.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Provides a standard <TT
|
> Provides a standard <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
> script.
|
> script.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Builds shared (dynamic) libraries if the plattform and libtool support it.
|
> Builds shared (dynamic) libraries if the plattform and libtool support it.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Provides standard targets in the Makefile (ie. <TT
|
> Provides standard targets in the Makefile (ie. <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>install</B
|
>install</B
|
||||||
></TT
|
></TT
|
||||||
>, <TT
|
>, <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>clean</B
|
>clean</B
|
||||||
></TT
|
></TT
|
||||||
>, etc).
|
>, etc).
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Can use (thanks to the <TT
|
> Can use (thanks to the <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
> script) plattform dependent system calls for better performance.
|
> script) plattform dependent system calls for better performance.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
></UL
|
></UL
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Introduction</TD
|
>Introduction</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Requirements to compile</TD
|
>Requirements to compile</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,236 +1,236 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>How to Apply These Terms to Your New Programs
|
>How to Apply These Terms to Your New Programs
|
||||||
</TITLE
|
</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="GNU GENERAL PUBLIC LICENSE
|
TITLE="GNU GENERAL PUBLIC LICENSE
|
||||||
"
|
"
|
||||||
HREF="gpl-license.html"><LINK
|
HREF="gpl-license.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TITLE="TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
"
|
"
|
||||||
HREF="gpl-license-terms.html"></HEAD
|
HREF="gpl-license-terms.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 6. GNU GENERAL PUBLIC LICENSE</TD
|
>Chapter 6. GNU GENERAL PUBLIC LICENSE</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
> </TD
|
> </TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="GPL-LICENSE-HOW-TO-APPLY"
|
NAME="GPL-LICENSE-HOW-TO-APPLY"
|
||||||
>How to Apply These Terms to Your New Programs</A
|
>How to Apply These Terms to Your New Programs</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
>If you develop a new program, and you want it to be of the greatest
|
>If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>To do so, attach the following notices to the program. It is safest
|
>To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
</P
|
</P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
BGCOLOR="#E0E0E0"
|
BGCOLOR="#E0E0E0"
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
><PRE
|
><PRE
|
||||||
CLASS="SCREEN"
|
CLASS="SCREEN"
|
||||||
><I
|
><I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>one line to give the program's name and a brief idea of what it does.</I
|
>one line to give the program's name and a brief idea of what it does.</I
|
||||||
>
|
>
|
||||||
Copyright (C) <I
|
Copyright (C) <I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>year</I
|
>year</I
|
||||||
> <I
|
> <I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>name of author</I
|
>name of author</I
|
||||||
>
|
>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</PRE
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</PRE
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><P
|
><P
|
||||||
>Also add information on how to contact you by electronic and paper mail.
|
>Also add information on how to contact you by electronic and paper mail.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>If the program is interactive, make it output a short notice like this
|
>If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
</P
|
</P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
BGCOLOR="#E0E0E0"
|
BGCOLOR="#E0E0E0"
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
><PRE
|
><PRE
|
||||||
CLASS="SCREEN"
|
CLASS="SCREEN"
|
||||||
>Gnomovision version 69, Copyright (C) <I
|
>Gnomovision version 69, Copyright (C) <I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>year</I
|
>year</I
|
||||||
> <I
|
> <I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>name of author</I
|
>name of author</I
|
||||||
>
|
>
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||||
type `show w'. This is free software, and you are welcome
|
type `show w'. This is free software, and you are welcome
|
||||||
to redistribute it under certain conditions; type `show c'
|
to redistribute it under certain conditions; type `show c'
|
||||||
for details.</PRE
|
for details.</PRE
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><P
|
><P
|
||||||
>The hypothetical commands `show w' and `show c' should show the appropriate
|
>The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>You should also get your employer (if you work as a programmer) or your
|
>You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
</P
|
</P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
BGCOLOR="#E0E0E0"
|
BGCOLOR="#E0E0E0"
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
><PRE
|
><PRE
|
||||||
CLASS="SCREEN"
|
CLASS="SCREEN"
|
||||||
>Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
>Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<I
|
<I
|
||||||
CLASS="EMPHASIS"
|
CLASS="EMPHASIS"
|
||||||
>signature of Ty Coon</I
|
>signature of Ty Coon</I
|
||||||
>, 1 April 1989
|
>, 1 April 1989
|
||||||
Ty Coon, President of Vice</PRE
|
Ty Coon, President of Vice</PRE
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><P
|
><P
|
||||||
>This General Public License does not permit incorporating your program into
|
>This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
</P
|
</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</TD
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,385 +1,385 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
</TITLE
|
</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="GNU GENERAL PUBLIC LICENSE
|
TITLE="GNU GENERAL PUBLIC LICENSE
|
||||||
"
|
"
|
||||||
HREF="gpl-license.html"><LINK
|
HREF="gpl-license.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="GNU GENERAL PUBLIC LICENSE
|
TITLE="GNU GENERAL PUBLIC LICENSE
|
||||||
"
|
"
|
||||||
HREF="gpl-license.html"><LINK
|
HREF="gpl-license.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="How to Apply These Terms to Your New Programs
|
TITLE="How to Apply These Terms to Your New Programs
|
||||||
"
|
"
|
||||||
HREF="gpl-license-how-to-apply.html"></HEAD
|
HREF="gpl-license-how-to-apply.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 6. GNU GENERAL PUBLIC LICENSE</TD
|
>Chapter 6. GNU GENERAL PUBLIC LICENSE</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-how-to-apply.html"
|
HREF="gpl-license-how-to-apply.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="GPL-LICENSE-TERMS"
|
NAME="GPL-LICENSE-TERMS"
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
>0. This License applies to any program or other work which contains
|
>0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Activities other than copying, distribution and modification are not
|
>Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>1. You may copy and distribute verbatim copies of the Program's
|
>1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>You may charge a fee for the physical act of transferring a copy, and
|
>You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>2. You may modify your copy or copies of the Program or any portion
|
>2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>a) You must cause the modified files to carry prominent notices
|
>a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>b) You must cause any work that you distribute or publish, that in
|
>b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>c) If the modified program normally reads commands interactively
|
>c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>These requirements apply to the modified work as a whole. If
|
>These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Thus, it's not the intent of this section to claim rights or contest
|
>Thus, it's not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>In addition, mere aggregation of another work not based on the Program
|
>In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>3. You may copy and distribute the Program (or a work based on it,
|
>3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>a) Accompany it with the complete corresponding machine-readable
|
>a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>b) Accompany it with a written offer, valid for at least three
|
>b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>c) Accompany it with the information you received as to the offer
|
>c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>The source code for a work means the preferred form of the work for
|
>The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>If distribution of executable or object code is made by offering
|
>If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>4. You may not copy, modify, sublicense, or distribute the Program
|
>4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>5. You are not required to accept this License, since you have not
|
>5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>6. Each time you redistribute the Program (or any work based on the
|
>6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>7. If, as a consequence of a court judgment or allegation of patent
|
>7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>If any portion of this section is held invalid or unenforceable under
|
>If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>It is not the purpose of this section to induce you to infringe any
|
>It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it's up to the author/donor to decide if he or she is willing
|
system; it's up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>This section is intended to make thoroughly clear what is believed to
|
>This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>8. If the distribution and/or use of the Program is restricted in
|
>8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>9. The Free Software Foundation may publish revised and/or new versions
|
>9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Each version is given a distinguishing version number. If the Program
|
>Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>10. If you wish to incorporate parts of the Program into other free
|
>10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>NO WARRANTY
|
>NO WARRANTY
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
>11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
>12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>END OF TERMS AND CONDITIONS
|
>END OF TERMS AND CONDITIONS
|
||||||
</P
|
</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-how-to-apply.html"
|
HREF="gpl-license-how-to-apply.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>GNU GENERAL PUBLIC LICENSE</TD
|
>GNU GENERAL PUBLIC LICENSE</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>How to Apply These Terms to Your New Programs</TD
|
>How to Apply These Terms to Your New Programs</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,225 +1,225 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>GNU GENERAL PUBLIC LICENSE
|
>GNU GENERAL PUBLIC LICENSE
|
||||||
</TITLE
|
</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Copyright and disclaimer"
|
TITLE="Copyright and disclaimer"
|
||||||
HREF="copyright-and-disclaimer.html"><LINK
|
HREF="copyright-and-disclaimer.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TITLE="TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
"
|
"
|
||||||
HREF="gpl-license-terms.html"></HEAD
|
HREF="gpl-license-terms.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="GPL-LICENSE"
|
NAME="GPL-LICENSE"
|
||||||
>Chapter 6. GNU GENERAL PUBLIC LICENSE
|
>Chapter 6. GNU GENERAL PUBLIC LICENSE
|
||||||
</A
|
</A
|
||||||
></H1
|
></H1
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TOC"
|
CLASS="TOC"
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><B
|
><B
|
||||||
>Table of Contents</B
|
>Table of Contents</B
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html#GPL-LICENSE-PREAMBLE"
|
HREF="gpl-license.html#GPL-LICENSE-PREAMBLE"
|
||||||
>Preamble</A
|
>Preamble</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-how-to-apply.html"
|
HREF="gpl-license-how-to-apply.html"
|
||||||
>How to Apply These Terms to Your New Programs</A
|
>How to Apply These Terms to Your New Programs</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DIV
|
></DIV
|
||||||
><P
|
><P
|
||||||
>Version 2, June 1991
|
>Version 2, June 1991
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
>Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Everyone is permitted to copy and distribute verbatim copies
|
>Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it's not allowed.
|
of this license document, but changing it's not allowed.
|
||||||
</P
|
</P
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="GPL-LICENSE-PREAMBLE"
|
NAME="GPL-LICENSE-PREAMBLE"
|
||||||
>Preamble</A
|
>Preamble</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
>The licenses for most software are designed to take away your
|
>The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>When we speak of free software, we are referring to freedom, not
|
>When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>To protect your rights, we need to make restrictions that forbid
|
>To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>For example, if you distribute copies of such a program, whether
|
>For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>We protect your rights with two steps: (1) copyright the software, and
|
>We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Also, for each author's protection and ours, we want to make certain
|
>Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>Finally, any free program is threatened constantly by software
|
>Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
>The precise terms and conditions for copying, distribution and
|
>The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
</P
|
</P
|
||||||
></DIV
|
></DIV
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Copyright and disclaimer</TD
|
>Copyright and disclaimer</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</TD
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,330 +1,330 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>How to compile cole</TITLE
|
>How to compile cole</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Requirements to compile"
|
TITLE="Requirements to compile"
|
||||||
HREF="requirements-to-compile.html"><LINK
|
HREF="requirements-to-compile.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="cole Library"
|
TITLE="cole Library"
|
||||||
HREF="libcole.html"></HEAD
|
HREF="libcole.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="libcole.html"
|
HREF="libcole.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="HOW-TO-COMPILE"
|
NAME="HOW-TO-COMPILE"
|
||||||
>Chapter 2. How to compile cole</A
|
>Chapter 2. How to compile cole</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> The file <TT
|
> The file <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>INSTALL</TT
|
>INSTALL</TT
|
||||||
> in the source code gives detailed instructions on how to configure, compile and install cole.</P
|
> in the source code gives detailed instructions on how to configure, compile and install cole.</P
|
||||||
><P
|
><P
|
||||||
> Briefly, you need to run the GNU standard <TT
|
> Briefly, you need to run the GNU standard <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
> script, with the arguments you want. To see the arguments that <TT
|
> script, with the arguments you want. To see the arguments that <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
> accepts, run <TT
|
> accepts, run <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>./configure --help</B
|
>./configure --help</B
|
||||||
></TT
|
></TT
|
||||||
>. The most usual argument is <TT
|
>. The most usual argument is <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>--prefix=PREFIX</B
|
>--prefix=PREFIX</B
|
||||||
></TT
|
></TT
|
||||||
>, which tells configure to install cole in the directory <TT
|
>, which tells configure to install cole in the directory <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>PREFIX</B
|
>PREFIX</B
|
||||||
></TT
|
></TT
|
||||||
>. After that, you need to run <TT
|
>. After that, you need to run <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>make</B
|
>make</B
|
||||||
></TT
|
></TT
|
||||||
> to compile cole, and <TT
|
> to compile cole, and <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>make install</B
|
>make install</B
|
||||||
></TT
|
></TT
|
||||||
> to install it.</P
|
> to install it.</P
|
||||||
><P
|
><P
|
||||||
> The <TT
|
> The <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
> script accepts, besides the standard arguments, the following flags:</P
|
> script accepts, besides the standard arguments, the following flags:</P
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>--enable-osf-check</B
|
>--enable-osf-check</B
|
||||||
></TT
|
></TT
|
||||||
>. Turn on short align for OSF compiler. If you have errors while compiling under OSF1, enable this flag.
|
>. Turn on short align for OSF compiler. If you have errors while compiling under OSF1, enable this flag.
|
||||||
</TD
|
</TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>--enable-verbose</B
|
>--enable-verbose</B
|
||||||
></TT
|
></TT
|
||||||
>. Turn on verbose. It is useful if you want to send a bug report. It is useful for cole developers too.
|
>. Turn on verbose. It is useful if you want to send a bug report. It is useful for cole developers too.
|
||||||
</TD
|
</TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>--enable-debug</B
|
>--enable-debug</B
|
||||||
></TT
|
></TT
|
||||||
> Turn on GNU CC debug flags. It is useful for cole developers, so may be you don't want to use it.
|
> Turn on GNU CC debug flags. It is useful for cole developers, so may be you don't want to use it.
|
||||||
</TD
|
</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><P
|
><P
|
||||||
> A tipical session is shown below.</P
|
> A tipical session is shown below.</P
|
||||||
><TABLE
|
><TABLE
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
BGCOLOR="#E0E0E0"
|
BGCOLOR="#E0E0E0"
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
><PRE
|
><PRE
|
||||||
CLASS="SCREEN"
|
CLASS="SCREEN"
|
||||||
><TT
|
><TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>ls</B
|
>ls</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
cole-2.0.0.tar.gz
|
cole-2.0.0.tar.gz
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>gzip -d cole-2.0.0.tar.gz</B
|
>gzip -d cole-2.0.0.tar.gz</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>tar -xf cole-2.0.0.tar</B
|
>tar -xf cole-2.0.0.tar</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>ls</B
|
>ls</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
cole-2.0.0.tar cole-2.0.0/
|
cole-2.0.0.tar cole-2.0.0/
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>cd cole-2.0.0</B
|
>cd cole-2.0.0</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>./configure --prefix=/opt</B
|
>./configure --prefix=/opt</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
...
|
...
|
||||||
Configured cole release 2.0.0
|
Configured cole release 2.0.0
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>make</B
|
>make</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
...
|
...
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>make install</B
|
>make install</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
...
|
...
|
||||||
<TT
|
<TT
|
||||||
CLASS="PROMPT"
|
CLASS="PROMPT"
|
||||||
>$</TT
|
>$</TT
|
||||||
> <TT
|
> <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>make clean</B
|
>make clean</B
|
||||||
></TT
|
></TT
|
||||||
>
|
>
|
||||||
...</PRE
|
...</PRE
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><P
|
><P
|
||||||
> When installing, a shell script named <TT
|
> When installing, a shell script named <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>cole-config</TT
|
>cole-config</TT
|
||||||
> will be installed in <TT
|
> will be installed in <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>PREFIX/bin</TT
|
>PREFIX/bin</TT
|
||||||
> if you used the the <TT
|
> if you used the the <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>--prefix=PREFIX</B
|
>--prefix=PREFIX</B
|
||||||
></TT
|
></TT
|
||||||
> argument, or in <TT
|
> argument, or in <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>/usr/local/bin</TT
|
>/usr/local/bin</TT
|
||||||
> if you didn't. That directory must be listed in the content of the enviroment variable PATH when configuring another program that uses cole.</P
|
> if you didn't. That directory must be listed in the content of the enviroment variable PATH when configuring another program that uses cole.</P
|
||||||
><P
|
><P
|
||||||
> If you system support it, will be compiled and installed shared libraries, to minimize size of the executables. By this reason, is important to include the directory <TT
|
> If you system support it, will be compiled and installed shared libraries, to minimize size of the executables. By this reason, is important to include the directory <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>PREFIX/bin</TT
|
>PREFIX/bin</TT
|
||||||
> or <TT
|
> or <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>/usr/local/bin</TT
|
>/usr/local/bin</TT
|
||||||
> (which appropiate) in the file that your system command <TT
|
> (which appropiate) in the file that your system command <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>ldconfig</TT
|
>ldconfig</TT
|
||||||
> reads in order to regenerate the list of shared libraries (in some systems, you can list the directory in the content of the enviroment variable LD_LIBRARY_PATH instead).</P
|
> reads in order to regenerate the list of shared libraries (in some systems, you can list the directory in the content of the enviroment variable LD_LIBRARY_PATH instead).</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="libcole.html"
|
HREF="libcole.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Requirements to compile</TD
|
>Requirements to compile</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>cole Library</TD
|
>cole Library</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,193 +1,193 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>cole Library Reference Manual</TITLE
|
>cole Library Reference Manual</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Introduction"
|
TITLE="Introduction"
|
||||||
HREF="introduction.html"></HEAD
|
HREF="introduction.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="BOOK"
|
CLASS="BOOK"
|
||||||
><A
|
><A
|
||||||
NAME="INDEX"
|
NAME="INDEX"
|
||||||
></A
|
></A
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TITLEPAGE"
|
CLASS="TITLEPAGE"
|
||||||
><H1
|
><H1
|
||||||
CLASS="TITLE"
|
CLASS="TITLE"
|
||||||
><A
|
><A
|
||||||
NAME="AEN2"
|
NAME="AEN2"
|
||||||
>cole Library Reference Manual</A
|
>cole Library Reference Manual</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
CLASS="COPYRIGHT"
|
CLASS="COPYRIGHT"
|
||||||
>Copyright © 1998, 1999 by <SPAN
|
>Copyright © 1998, 1999 by <SPAN
|
||||||
CLASS="HOLDER"
|
CLASS="HOLDER"
|
||||||
>Roberto Arturo Tena S<>nchez</SPAN
|
>Roberto Arturo Tena S<>nchez</SPAN
|
||||||
></P
|
></P
|
||||||
><HR></DIV
|
><HR></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TOC"
|
CLASS="TOC"
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><B
|
><B
|
||||||
>Table of Contents</B
|
>Table of Contents</B
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
>1. <A
|
>1. <A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Introduction</A
|
>Introduction</A
|
||||||
></DT
|
></DT
|
||||||
><DD
|
><DD
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html#WHAT-IS-COLE"
|
HREF="introduction.html#WHAT-IS-COLE"
|
||||||
>What is cole?</A
|
>What is cole?</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Features</A
|
>Features</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Requirements to compile</A
|
>Requirements to compile</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DD
|
></DD
|
||||||
><DT
|
><DT
|
||||||
>2. <A
|
>2. <A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>How to compile cole</A
|
>How to compile cole</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
>3. <A
|
>3. <A
|
||||||
HREF="libcole.html"
|
HREF="libcole.html"
|
||||||
>cole Library</A
|
>cole Library</A
|
||||||
></DT
|
></DT
|
||||||
><DD
|
><DD
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>API</A
|
>API</A
|
||||||
> — Public cole API for the present release.</DT
|
> — Public cole API for the present release.</DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="cole-internals.html"
|
HREF="cole-internals.html"
|
||||||
>Internals</A
|
>Internals</A
|
||||||
> — cole internals - don't trust in anything here, because it may (and will) change.</DT
|
> — cole internals - don't trust in anything here, because it may (and will) change.</DT
|
||||||
></DL
|
></DL
|
||||||
></DD
|
></DD
|
||||||
><DT
|
><DT
|
||||||
>4. <A
|
>4. <A
|
||||||
HREF="bugs.html"
|
HREF="bugs.html"
|
||||||
>Bugs</A
|
>Bugs</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
>5. <A
|
>5. <A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Legal issues</A
|
>Legal issues</A
|
||||||
></DT
|
></DT
|
||||||
><DD
|
><DD
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
||||||
>Distribution and Freedom</A
|
>Distribution and Freedom</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Trademarks</A
|
>Trademarks</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Copyright and disclaimer</A
|
>Copyright and disclaimer</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DD
|
></DD
|
||||||
><DT
|
><DT
|
||||||
>6. <A
|
>6. <A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>GNU GENERAL PUBLIC LICENSE</A
|
>GNU GENERAL PUBLIC LICENSE</A
|
||||||
></DT
|
></DT
|
||||||
><DD
|
><DD
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license.html#GPL-LICENSE-PREAMBLE"
|
HREF="gpl-license.html#GPL-LICENSE-PREAMBLE"
|
||||||
>Preamble</A
|
>Preamble</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-terms.html"
|
HREF="gpl-license-terms.html"
|
||||||
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="gpl-license-how-to-apply.html"
|
HREF="gpl-license-how-to-apply.html"
|
||||||
>How to Apply These Terms to Your New Programs</A
|
>How to Apply These Terms to Your New Programs</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DD
|
></DD
|
||||||
></DL
|
></DL
|
||||||
></DIV
|
></DIV
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Introduction</TD
|
>Introduction</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,189 +1,189 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Introduction</TITLE
|
>Introduction</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Features"
|
TITLE="Features"
|
||||||
HREF="features.html"></HEAD
|
HREF="features.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="INTRODUCTION"
|
NAME="INTRODUCTION"
|
||||||
>Chapter 1. Introduction</A
|
>Chapter 1. Introduction</A
|
||||||
></H1
|
></H1
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TOC"
|
CLASS="TOC"
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><B
|
><B
|
||||||
>Table of Contents</B
|
>Table of Contents</B
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html#WHAT-IS-COLE"
|
HREF="introduction.html#WHAT-IS-COLE"
|
||||||
>What is cole?</A
|
>What is cole?</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Features</A
|
>Features</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="requirements-to-compile.html"
|
HREF="requirements-to-compile.html"
|
||||||
>Requirements to compile</A
|
>Requirements to compile</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="WHAT-IS-COLE"
|
NAME="WHAT-IS-COLE"
|
||||||
>What is cole?</A
|
>What is cole?</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> cole is a free C OLE library.</P
|
> cole is a free C OLE library.</P
|
||||||
><P
|
><P
|
||||||
> cole is <A
|
> cole is <A
|
||||||
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
||||||
>distributed</A
|
>distributed</A
|
||||||
> under the terms of the <A
|
> under the terms of the <A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>GNU General Public License</A
|
>GNU General Public License</A
|
||||||
> (GPL) to give an impulse to the Free Software. cole distribution license is compatible with the <A
|
> (GPL) to give an impulse to the Free Software. cole distribution license is compatible with the <A
|
||||||
HREF="http://www.opensource.org/"
|
HREF="http://www.opensource.org/"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
>Open Source</A
|
>Open Source</A
|
||||||
> definition.</P
|
> definition.</P
|
||||||
><P
|
><P
|
||||||
> Using cole, you can access Microsoft' Structured Storage files. The most popular Microsoft's programs generate Structured Storage files, incluiding the Microsoft' suite for offices. StarDivision' suite (StarOffice) generate Structured Storage files too. FlashPix file format is Structured Storage too.</P
|
> Using cole, you can access Microsoft' Structured Storage files. The most popular Microsoft's programs generate Structured Storage files, incluiding the Microsoft' suite for offices. StarDivision' suite (StarOffice) generate Structured Storage files too. FlashPix file format is Structured Storage too.</P
|
||||||
><P
|
><P
|
||||||
> What is a Structured Storage file? Inside a Structured Storage file there is a filesystem, with directories and files, which Microsoft calls containers and streams. Using cole you can travel through such filesystem and access the files.</P
|
> What is a Structured Storage file? Inside a Structured Storage file there is a filesystem, with directories and files, which Microsoft calls containers and streams. Using cole you can travel through such filesystem and access the files.</P
|
||||||
><P
|
><P
|
||||||
> cole doesn't know about internal structure of a stream, it only reads the raw data. You can use the Microsoft's documentation available at <A
|
> cole doesn't know about internal structure of a stream, it only reads the raw data. You can use the Microsoft's documentation available at <A
|
||||||
HREF="http://msdn.microsoft.com/"
|
HREF="http://msdn.microsoft.com/"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
>http://msdn.microsoft.com</A
|
>http://msdn.microsoft.com</A
|
||||||
> or the information available at <A
|
> or the information available at <A
|
||||||
HREF="http://www.wotsit.org/"
|
HREF="http://www.wotsit.org/"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
>http://www.wotsit.org</A
|
>http://www.wotsit.org</A
|
||||||
> to know the binary file format of the streams. If you know anything in the side of StarDivision email me. FlashPix file format is well documented.</P
|
> to know the binary file format of the streams. If you know anything in the side of StarDivision email me. FlashPix file format is well documented.</P
|
||||||
><P
|
><P
|
||||||
> cole was developed using the information available at <A
|
> cole was developed using the information available at <A
|
||||||
HREF="http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html"
|
HREF="http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
>http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html</A
|
>http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html</A
|
||||||
> and the OLE::Storage Perl module from the same site, and no information from any other source (incluiding Microsoft) has been used.</P
|
> and the OLE::Storage Perl module from the same site, and no information from any other source (incluiding Microsoft) has been used.</P
|
||||||
></DIV
|
></DIV
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>cole Library Reference Manual</TD
|
>cole Library Reference Manual</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Features</TD
|
>Features</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,184 +1,184 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Legal issues</TITLE
|
>Legal issues</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Bugs"
|
TITLE="Bugs"
|
||||||
HREF="bugs.html"><LINK
|
HREF="bugs.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Trademarks"
|
TITLE="Trademarks"
|
||||||
HREF="trademarks.html"></HEAD
|
HREF="trademarks.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="bugs.html"
|
HREF="bugs.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="LEGAL-ISSUES"
|
NAME="LEGAL-ISSUES"
|
||||||
>Chapter 5. Legal issues</A
|
>Chapter 5. Legal issues</A
|
||||||
></H1
|
></H1
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TOC"
|
CLASS="TOC"
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><B
|
><B
|
||||||
>Table of Contents</B
|
>Table of Contents</B
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
HREF="legal-issues.html#DISTRIBUTION-AND-FREEDOM"
|
||||||
>Distribution and Freedom</A
|
>Distribution and Freedom</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Trademarks</A
|
>Trademarks</A
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Copyright and disclaimer</A
|
>Copyright and disclaimer</A
|
||||||
></DT
|
></DT
|
||||||
></DL
|
></DL
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="DISTRIBUTION-AND-FREEDOM"
|
NAME="DISTRIBUTION-AND-FREEDOM"
|
||||||
>Distribution and Freedom</A
|
>Distribution and Freedom</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> cole is Free Software, which means is distributed under a license that protect your freedom. cole distribution license is compatible with the <A
|
> cole is Free Software, which means is distributed under a license that protect your freedom. cole distribution license is compatible with the <A
|
||||||
HREF="http://www.opensource.org/"
|
HREF="http://www.opensource.org/"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
>Open Source</A
|
>Open Source</A
|
||||||
> definition.</P
|
> definition.</P
|
||||||
><P
|
><P
|
||||||
> cole is distributed under the terms of the <A
|
> cole is distributed under the terms of the <A
|
||||||
HREF="gpl-license.html"
|
HREF="gpl-license.html"
|
||||||
>GNU General Public License</A
|
>GNU General Public License</A
|
||||||
> (GPL). A copy of the license is in the file <TT
|
> (GPL). A copy of the license is in the file <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>COPYING</TT
|
>COPYING</TT
|
||||||
> in the source code and in this document. Particulary, this means at least two things:</P
|
> in the source code and in this document. Particulary, this means at least two things:</P
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><OL
|
><OL
|
||||||
TYPE="1"
|
TYPE="1"
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> All the code statically or dinamically linked against cole must be distributed under the terms of a license compatible with GPL.
|
> All the code statically or dinamically linked against cole must be distributed under the terms of a license compatible with GPL.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> If you change the cole source code and you want to distribute a compiled version, you must release the changed cole source code too.
|
> If you change the cole source code and you want to distribute a compiled version, you must release the changed cole source code too.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
></OL
|
></OL
|
||||||
></DIV
|
></DIV
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="bugs.html"
|
HREF="bugs.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="trademarks.html"
|
HREF="trademarks.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Bugs</TD
|
>Bugs</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Trademarks</TD
|
>Trademarks</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,273 +1,273 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>cole Library</TITLE
|
>cole Library</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="How to compile cole"
|
TITLE="How to compile cole"
|
||||||
HREF="how-to-compile.html"><LINK
|
HREF="how-to-compile.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="API"
|
TITLE="API"
|
||||||
HREF="cole-api.html"></HEAD
|
HREF="cole-api.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="CHAPTER"
|
CLASS="CHAPTER"
|
||||||
><H1
|
><H1
|
||||||
><A
|
><A
|
||||||
NAME="LIBCOLE"
|
NAME="LIBCOLE"
|
||||||
>Chapter 3. cole Library</A
|
>Chapter 3. cole Library</A
|
||||||
></H1
|
></H1
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="TOC"
|
CLASS="TOC"
|
||||||
><DL
|
><DL
|
||||||
><DT
|
><DT
|
||||||
><B
|
><B
|
||||||
>Table of Contents</B
|
>Table of Contents</B
|
||||||
></DT
|
></DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>API</A
|
>API</A
|
||||||
> — Public cole API for the present release.</DT
|
> — Public cole API for the present release.</DT
|
||||||
><DT
|
><DT
|
||||||
><A
|
><A
|
||||||
HREF="cole-internals.html"
|
HREF="cole-internals.html"
|
||||||
>Internals</A
|
>Internals</A
|
||||||
> — cole internals - don't trust in anything here, because it may (and will) change.</DT
|
> — cole internals - don't trust in anything here, because it may (and will) change.</DT
|
||||||
></DL
|
></DL
|
||||||
></DIV
|
></DIV
|
||||||
><P
|
><P
|
||||||
> This is the documentation autogenerated from the source code. It have the cole <A
|
> This is the documentation autogenerated from the source code. It have the cole <A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>API</A
|
>API</A
|
||||||
> for this release, and some internal structures and internal calls.
|
> for this release, and some internal structures and internal calls.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
> Note: what Microsoft calls <TT
|
> Note: what Microsoft calls <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>stream</B
|
>stream</B
|
||||||
></TT
|
></TT
|
||||||
> is called <TT
|
> is called <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>file</B
|
>file</B
|
||||||
></TT
|
></TT
|
||||||
> in this project, <TT
|
> in this project, <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>storage</B
|
>storage</B
|
||||||
></TT
|
></TT
|
||||||
> is called <TT
|
> is called <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>directory</B
|
>directory</B
|
||||||
></TT
|
></TT
|
||||||
> and <TT
|
> and <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>docfile</B
|
>docfile</B
|
||||||
></TT
|
></TT
|
||||||
> (a Structured Storage file) is called <TT
|
> (a Structured Storage file) is called <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>filesystem</B
|
>filesystem</B
|
||||||
></TT
|
></TT
|
||||||
>.
|
>.
|
||||||
</P
|
</P
|
||||||
><P
|
><P
|
||||||
> The files in the subdirectory <TT
|
> The files in the subdirectory <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>examples</TT
|
>examples</TT
|
||||||
> in the source code show the complete public <A
|
> in the source code show the complete public <A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>API</A
|
>API</A
|
||||||
> in action. Briefly, if you know how to use the <TT
|
> in action. Briefly, if you know how to use the <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>stdio.h</TT
|
>stdio.h</TT
|
||||||
> ANSI C calls, cole API will be very easy for you.</P
|
> ANSI C calls, cole API will be very easy for you.</P
|
||||||
><P
|
><P
|
||||||
> If you use <TT
|
> If you use <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>autoconf</TT
|
>autoconf</TT
|
||||||
> in your own proyect, the included file <TT
|
> in your own proyect, the included file <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>cole.m4</TT
|
>cole.m4</TT
|
||||||
> may be useful for you. It contains the m4 macro AM_PATH_COLE that detect the presense or ausence of the cole library in the system being configured. To use it:</P
|
> may be useful for you. It contains the m4 macro AM_PATH_COLE that detect the presense or ausence of the cole library in the system being configured. To use it:</P
|
||||||
><P
|
><P
|
||||||
></P
|
></P
|
||||||
><OL
|
><OL
|
||||||
TYPE="1"
|
TYPE="1"
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> If cole is not installed in your system (i.e. <TT
|
> If cole is not installed in your system (i.e. <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>aclocal</TT
|
>aclocal</TT
|
||||||
> can't find <TT
|
> can't find <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>cole.m4</TT
|
>cole.m4</TT
|
||||||
>), add the content of <TT
|
>), add the content of <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>cole.m4</TT
|
>cole.m4</TT
|
||||||
> to your own <TT
|
> to your own <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>acinclude.m4</TT
|
>acinclude.m4</TT
|
||||||
> file (create it in case you haven't one).
|
> file (create it in case you haven't one).
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Add a line like <TT
|
> Add a line like <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>AM_PATH_COLE(2.0.0, [LIBS="$LIBS $COLE_LIBS" CFLAGS="$CFLAGS $COLE_CFLAGS"])</B
|
>AM_PATH_COLE(2.0.0, [LIBS="$LIBS $COLE_LIBS" CFLAGS="$CFLAGS $COLE_CFLAGS"])</B
|
||||||
></TT
|
></TT
|
||||||
> to your <TT
|
> to your <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure.in</TT
|
>configure.in</TT
|
||||||
> file. Here we are requesting for cole release 2.0.0, and adding the necessary flags to LIBS and CFLAGS.
|
> file. Here we are requesting for cole release 2.0.0, and adding the necessary flags to LIBS and CFLAGS.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Run <TT
|
> Run <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>aclocal</B
|
>aclocal</B
|
||||||
></TT
|
></TT
|
||||||
> to generate the file <TT
|
> to generate the file <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>aclocal.m4</TT
|
>aclocal.m4</TT
|
||||||
>. This file will have many m4 macros, incluiding the cole m4 macro, and
|
>. This file will have many m4 macros, incluiding the cole m4 macro, and
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
><LI
|
><LI
|
||||||
><P
|
><P
|
||||||
> Run <TT
|
> Run <TT
|
||||||
CLASS="USERINPUT"
|
CLASS="USERINPUT"
|
||||||
><B
|
><B
|
||||||
>autoconf</B
|
>autoconf</B
|
||||||
></TT
|
></TT
|
||||||
> to generate the script <TT
|
> to generate the script <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>configure</TT
|
>configure</TT
|
||||||
>.
|
>.
|
||||||
</P
|
</P
|
||||||
></LI
|
></LI
|
||||||
></OL
|
></OL
|
||||||
><P
|
><P
|
||||||
> Many <A
|
> Many <A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>API</A
|
>API</A
|
||||||
> calls take an argument at the end called <A
|
> calls take an argument at the end called <A
|
||||||
HREF="cole-api.html#COLERRNO"
|
HREF="cole-api.html#COLERRNO"
|
||||||
><TT
|
><TT
|
||||||
CLASS="PARAMETER"
|
CLASS="PARAMETER"
|
||||||
><I
|
><I
|
||||||
>colerrno</I
|
>colerrno</I
|
||||||
></TT
|
></TT
|
||||||
></A
|
></A
|
||||||
>. If it's not NULL and the call failed, it store the error code for fail, if any (if the call was successfully ended, its value is not modified).</P
|
>. If it's not NULL and the call failed, it store the error code for fail, if any (if the call was successfully ended, its value is not modified).</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="cole-api.html"
|
HREF="cole-api.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>How to compile cole</TD
|
>How to compile cole</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
> </TD
|
> </TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>API</TD
|
>API</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,137 +1,137 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Requirements to compile</TITLE
|
>Requirements to compile</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="Introduction"
|
TITLE="Introduction"
|
||||||
HREF="introduction.html"><LINK
|
HREF="introduction.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Features"
|
TITLE="Features"
|
||||||
HREF="features.html"><LINK
|
HREF="features.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="How to compile cole"
|
TITLE="How to compile cole"
|
||||||
HREF="how-to-compile.html"></HEAD
|
HREF="how-to-compile.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 1. Introduction</TD
|
>Chapter 1. Introduction</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="REQUIREMENTS-TO-COMPILE"
|
NAME="REQUIREMENTS-TO-COMPILE"
|
||||||
>Requirements to compile</A
|
>Requirements to compile</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> To have a system with ANSI C libraries, a ANSI C compiler, a <TT
|
> To have a system with ANSI C libraries, a ANSI C compiler, a <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>make</TT
|
>make</TT
|
||||||
> program and the shell <TT
|
> program and the shell <TT
|
||||||
CLASS="FILENAME"
|
CLASS="FILENAME"
|
||||||
>/bin/sh</TT
|
>/bin/sh</TT
|
||||||
>.</P
|
>.</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="features.html"
|
HREF="features.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="how-to-compile.html"
|
HREF="how-to-compile.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Features</TD
|
>Features</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="introduction.html"
|
HREF="introduction.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>How to compile cole</TD
|
>How to compile cole</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,147 +1,147 @@
|
|||||||
<HTML
|
<HTML
|
||||||
><HEAD
|
><HEAD
|
||||||
><TITLE
|
><TITLE
|
||||||
>Trademarks</TITLE
|
>Trademarks</TITLE
|
||||||
><META
|
><META
|
||||||
NAME="GENERATOR"
|
NAME="GENERATOR"
|
||||||
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
|
||||||
REL="HOME"
|
REL="HOME"
|
||||||
TITLE="cole Library Reference Manual"
|
TITLE="cole Library Reference Manual"
|
||||||
HREF="index.html"><LINK
|
HREF="index.html"><LINK
|
||||||
REL="UP"
|
REL="UP"
|
||||||
TITLE="Legal issues"
|
TITLE="Legal issues"
|
||||||
HREF="legal-issues.html"><LINK
|
HREF="legal-issues.html"><LINK
|
||||||
REL="PREVIOUS"
|
REL="PREVIOUS"
|
||||||
TITLE="Legal issues"
|
TITLE="Legal issues"
|
||||||
HREF="legal-issues.html"><LINK
|
HREF="legal-issues.html"><LINK
|
||||||
REL="NEXT"
|
REL="NEXT"
|
||||||
TITLE="Copyright and disclaimer"
|
TITLE="Copyright and disclaimer"
|
||||||
HREF="copyright-and-disclaimer.html"></HEAD
|
HREF="copyright-and-disclaimer.html"></HEAD
|
||||||
><BODY
|
><BODY
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVHEADER"
|
CLASS="NAVHEADER"
|
||||||
><TABLE
|
><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TH
|
><TH
|
||||||
COLSPAN="3"
|
COLSPAN="3"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
>cole Library Reference Manual</TH
|
>cole Library Reference Manual</TH
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="80%"
|
WIDTH="80%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
>Chapter 5. Legal issues</TD
|
>Chapter 5. Legal issues</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="10%"
|
WIDTH="10%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="bottom"
|
VALIGN="bottom"
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"></DIV
|
WIDTH="100%"></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><H1
|
><H1
|
||||||
CLASS="SECT1"
|
CLASS="SECT1"
|
||||||
><A
|
><A
|
||||||
NAME="TRADEMARKS"
|
NAME="TRADEMARKS"
|
||||||
>Trademarks</A
|
>Trademarks</A
|
||||||
></H1
|
></H1
|
||||||
><P
|
><P
|
||||||
> "Microsoft Word", "Microsoft Excel", "Microsoft Publisher" and "Microsoft Power Point" are trademarks of Microsoft Corporation.</P
|
> "Microsoft Word", "Microsoft Excel", "Microsoft Publisher" and "Microsoft Power Point" are trademarks of Microsoft Corporation.</P
|
||||||
><P
|
><P
|
||||||
>"StarOffice" may be is a trademark of StarDivision.</P
|
>"StarOffice" may be is a trademark of StarDivision.</P
|
||||||
><P
|
><P
|
||||||
>"FlashPix" may be is a trademark.</P
|
>"FlashPix" may be is a trademark.</P
|
||||||
><P
|
><P
|
||||||
>"UNIX" is a trademark.</P
|
>"UNIX" is a trademark.</P
|
||||||
><P
|
><P
|
||||||
> "Free Software" is not trademark of anyone, but it's an important term in the Free Software community, and for the Free Software Foundation.</P
|
> "Free Software" is not trademark of anyone, but it's an important term in the Free Software community, and for the Free Software Foundation.</P
|
||||||
><P
|
><P
|
||||||
> All other trademarks are the property of their respective owners.</P
|
> All other trademarks are the property of their respective owners.</P
|
||||||
><P
|
><P
|
||||||
> If another trademark is mentioned in this document and it needs to be listed above, please email to the maintainer (<A
|
> If another trademark is mentioned in this document and it needs to be listed above, please email to the maintainer (<A
|
||||||
HREF="mailto:arturo@directmail.org"
|
HREF="mailto:arturo@directmail.org"
|
||||||
TARGET="_top"
|
TARGET="_top"
|
||||||
><arturo@directmail.org></A
|
><arturo@directmail.org></A
|
||||||
>).</P
|
>).</P
|
||||||
></DIV
|
></DIV
|
||||||
><DIV
|
><DIV
|
||||||
CLASS="NAVFOOTER"
|
CLASS="NAVFOOTER"
|
||||||
><HR
|
><HR
|
||||||
ALIGN="LEFT"
|
ALIGN="LEFT"
|
||||||
WIDTH="100%"><TABLE
|
WIDTH="100%"><TABLE
|
||||||
WIDTH="100%"
|
WIDTH="100%"
|
||||||
BORDER="0"
|
BORDER="0"
|
||||||
CELLPADDING="0"
|
CELLPADDING="0"
|
||||||
CELLSPACING="0"
|
CELLSPACING="0"
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Prev</A
|
>Prev</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="index.html"
|
HREF="index.html"
|
||||||
>Home</A
|
>Home</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="copyright-and-disclaimer.html"
|
HREF="copyright-and-disclaimer.html"
|
||||||
>Next</A
|
>Next</A
|
||||||
></TD
|
></TD
|
||||||
></TR
|
></TR
|
||||||
><TR
|
><TR
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="left"
|
ALIGN="left"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Legal issues</TD
|
>Legal issues</TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="34%"
|
WIDTH="34%"
|
||||||
ALIGN="center"
|
ALIGN="center"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
><A
|
><A
|
||||||
HREF="legal-issues.html"
|
HREF="legal-issues.html"
|
||||||
>Up</A
|
>Up</A
|
||||||
></TD
|
></TD
|
||||||
><TD
|
><TD
|
||||||
WIDTH="33%"
|
WIDTH="33%"
|
||||||
ALIGN="right"
|
ALIGN="right"
|
||||||
VALIGN="top"
|
VALIGN="top"
|
||||||
>Copyright and disclaimer</TD
|
>Copyright and disclaimer</TD
|
||||||
></TR
|
></TR
|
||||||
></TABLE
|
></TABLE
|
||||||
></DIV
|
></DIV
|
||||||
></BODY
|
></BODY
|
||||||
></HTML
|
></HTML
|
||||||
>
|
>
|
||||||
@@ -1,93 +1,93 @@
|
|||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>internals</FILE>
|
<FILE>internals</FILE>
|
||||||
<TITLE>Internals</TITLE>
|
<TITLE>Internals</TITLE>
|
||||||
COLEFS
|
COLEFS
|
||||||
COLEDIRENT
|
COLEDIRENT
|
||||||
COLEDIR
|
COLEDIR
|
||||||
COLEFILE
|
COLEFILE
|
||||||
F32
|
F32
|
||||||
F64
|
F64
|
||||||
U8
|
U8
|
||||||
U16
|
U16
|
||||||
U32
|
U32
|
||||||
fil_sreadU16
|
fil_sreadU16
|
||||||
fil_sreadU32
|
fil_sreadU32
|
||||||
fil_sreadF64
|
fil_sreadF64
|
||||||
fil_swriteU16
|
fil_swriteU16
|
||||||
fil_swriteU32
|
fil_swriteU32
|
||||||
verbose_return
|
verbose_return
|
||||||
test
|
test
|
||||||
test_exitf
|
test_exitf
|
||||||
test_call
|
test_call
|
||||||
test_call_exitf
|
test_call_exitf
|
||||||
report_bug
|
report_bug
|
||||||
assert_return
|
assert_return
|
||||||
verbose_d
|
verbose_d
|
||||||
verbose
|
verbose
|
||||||
verbose_wonl
|
verbose_wonl
|
||||||
verboseU8
|
verboseU8
|
||||||
verboseU16
|
verboseU16
|
||||||
verboseU32
|
verboseU32
|
||||||
verboseS
|
verboseS
|
||||||
verboseS_wonl
|
verboseS_wonl
|
||||||
warning
|
warning
|
||||||
verboseU32Array
|
verboseU32Array
|
||||||
verboseU8Array_force
|
verboseU8Array_force
|
||||||
verboseU8Array
|
verboseU8Array
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
|
||||||
<INCLUDE>cole/cole.h</INCLUDE>
|
<INCLUDE>cole/cole.h</INCLUDE>
|
||||||
|
|
||||||
<SECTION>
|
<SECTION>
|
||||||
<FILE>api</FILE>
|
<FILE>api</FILE>
|
||||||
<TITLE>API</TITLE>
|
<TITLE>API</TITLE>
|
||||||
COLE_MAJOR_VERSION
|
COLE_MAJOR_VERSION
|
||||||
COLE_MINOR_VERSION
|
COLE_MINOR_VERSION
|
||||||
COLE_MICRO_VERSION
|
COLE_MICRO_VERSION
|
||||||
cole_major_version
|
cole_major_version
|
||||||
cole_minor_version
|
cole_minor_version
|
||||||
cole_micro_version
|
cole_micro_version
|
||||||
cole_version
|
cole_version
|
||||||
cole_host_info
|
cole_host_info
|
||||||
COLERRNO
|
COLERRNO
|
||||||
cole_perror
|
cole_perror
|
||||||
COLEFS
|
COLEFS
|
||||||
COLEDIR
|
COLEDIR
|
||||||
COLEDIRENT
|
COLEDIRENT
|
||||||
COLEFILE
|
COLEFILE
|
||||||
cole_mount
|
cole_mount
|
||||||
cole_umount
|
cole_umount
|
||||||
cole_print_tree
|
cole_print_tree
|
||||||
cole_locate_filename
|
cole_locate_filename
|
||||||
cole_recurse_tree
|
cole_recurse_tree
|
||||||
cole_fopen
|
cole_fopen
|
||||||
cole_fopen_direntry
|
cole_fopen_direntry
|
||||||
cole_fclose
|
cole_fclose
|
||||||
cole_fread
|
cole_fread
|
||||||
cole_feof
|
cole_feof
|
||||||
cole_fsize
|
cole_fsize
|
||||||
cole_ftell
|
cole_ftell
|
||||||
cole_fseek
|
cole_fseek
|
||||||
cole_frewind
|
cole_frewind
|
||||||
cole_opendir_rootdir
|
cole_opendir_rootdir
|
||||||
cole_opendir_direntry
|
cole_opendir_direntry
|
||||||
cole_closedir
|
cole_closedir
|
||||||
cole_visiteddirentry
|
cole_visiteddirentry
|
||||||
cole_nextdirentry
|
cole_nextdirentry
|
||||||
cole_direntry_isdir
|
cole_direntry_isdir
|
||||||
cole_direntry_isfile
|
cole_direntry_isfile
|
||||||
cole_dir_getname
|
cole_dir_getname
|
||||||
cole_dir_getsize
|
cole_dir_getsize
|
||||||
cole_dir_getsec1
|
cole_dir_getsec1
|
||||||
cole_dir_getsec2
|
cole_dir_getsec2
|
||||||
cole_dir_getdays1
|
cole_dir_getdays1
|
||||||
cole_dir_getdays2
|
cole_dir_getdays2
|
||||||
cole_direntry_getname
|
cole_direntry_getname
|
||||||
cole_direntry_getsize
|
cole_direntry_getsize
|
||||||
cole_direntry_getdays1
|
cole_direntry_getdays1
|
||||||
cole_direntry_getsec1
|
cole_direntry_getsec1
|
||||||
cole_direntry_getdays2
|
cole_direntry_getdays2
|
||||||
cole_direntry_getsec2
|
cole_direntry_getsec2
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
|||||||
@@ -1,48 +1,48 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
The file <filename>INSTALL</filename> in the source code gives detailed instructions on how to configure, compile and install cole.
|
The file <filename>INSTALL</filename> in the source code gives detailed instructions on how to configure, compile and install cole.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Briefly, you need to run the GNU standard <filename>configure</filename> script, with the arguments you want. To see the arguments that <filename>configure</filename> accepts, run <userinput>./configure --help</userinput>. The most usual argument is <userinput>--prefix=PREFIX</userinput>, which tells configure to install cole in the directory <userinput>PREFIX</userinput>. After that, you need to run <userinput>make</userinput> to compile cole, and <userinput>make install</userinput> to install it.
|
Briefly, you need to run the GNU standard <filename>configure</filename> script, with the arguments you want. To see the arguments that <filename>configure</filename> accepts, run <userinput>./configure --help</userinput>. The most usual argument is <userinput>--prefix=PREFIX</userinput>, which tells configure to install cole in the directory <userinput>PREFIX</userinput>. After that, you need to run <userinput>make</userinput> to compile cole, and <userinput>make install</userinput> to install it.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The <filename>configure</filename> script accepts, besides the standard arguments, the following flags:
|
The <filename>configure</filename> script accepts, besides the standard arguments, the following flags:
|
||||||
</para>
|
</para>
|
||||||
<simplelist>
|
<simplelist>
|
||||||
<member>
|
<member>
|
||||||
<userinput>--enable-osf-check</userinput>. Turn on short align for OSF compiler. If you have errors while compiling under OSF1, enable this flag.
|
<userinput>--enable-osf-check</userinput>. Turn on short align for OSF compiler. If you have errors while compiling under OSF1, enable this flag.
|
||||||
</member>
|
</member>
|
||||||
<member>
|
<member>
|
||||||
<userinput>--enable-verbose</userinput>. Turn on verbose. It is useful if you want to send a bug report. It is useful for cole developers too.
|
<userinput>--enable-verbose</userinput>. Turn on verbose. It is useful if you want to send a bug report. It is useful for cole developers too.
|
||||||
</member>
|
</member>
|
||||||
<member>
|
<member>
|
||||||
<userinput>--enable-debug</userinput> Turn on GNU CC debug flags. It is useful for cole developers, so may be you don't want to use it.
|
<userinput>--enable-debug</userinput> Turn on GNU CC debug flags. It is useful for cole developers, so may be you don't want to use it.
|
||||||
</member>
|
</member>
|
||||||
</simplelist>
|
</simplelist>
|
||||||
<para>
|
<para>
|
||||||
A tipical session is shown below.
|
A tipical session is shown below.
|
||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
<prompt>$</prompt> <userinput>ls</userinput>
|
<prompt>$</prompt> <userinput>ls</userinput>
|
||||||
cole-2.0.0.tar.gz
|
cole-2.0.0.tar.gz
|
||||||
<prompt>$</prompt> <userinput>gzip -d cole-2.0.0.tar.gz</userinput>
|
<prompt>$</prompt> <userinput>gzip -d cole-2.0.0.tar.gz</userinput>
|
||||||
<prompt>$</prompt> <userinput>tar -xf cole-2.0.0.tar</userinput>
|
<prompt>$</prompt> <userinput>tar -xf cole-2.0.0.tar</userinput>
|
||||||
<prompt>$</prompt> <userinput>ls</userinput>
|
<prompt>$</prompt> <userinput>ls</userinput>
|
||||||
cole-2.0.0.tar cole-2.0.0/
|
cole-2.0.0.tar cole-2.0.0/
|
||||||
<prompt>$</prompt> <userinput>cd cole-2.0.0</userinput>
|
<prompt>$</prompt> <userinput>cd cole-2.0.0</userinput>
|
||||||
<prompt>$</prompt> <userinput>./configure --prefix=/opt</userinput>
|
<prompt>$</prompt> <userinput>./configure --prefix=/opt</userinput>
|
||||||
...
|
...
|
||||||
Configured cole release 2.0.0
|
Configured cole release 2.0.0
|
||||||
<prompt>$</prompt> <userinput>make</userinput>
|
<prompt>$</prompt> <userinput>make</userinput>
|
||||||
...
|
...
|
||||||
<prompt>$</prompt> <userinput>make install</userinput>
|
<prompt>$</prompt> <userinput>make install</userinput>
|
||||||
...
|
...
|
||||||
<prompt>$</prompt> <userinput>make clean</userinput>
|
<prompt>$</prompt> <userinput>make clean</userinput>
|
||||||
...</screen>
|
...</screen>
|
||||||
<para>
|
<para>
|
||||||
When installing, a shell script named <filename>cole-config</filename> will be installed in <filename>PREFIX/bin</filename> if you used the the <userinput>--prefix=PREFIX</userinput> argument, or in <filename>/usr/local/bin</filename> if you didn't. That directory must be listed in the content of the enviroment variable PATH when configuring another program that uses cole.
|
When installing, a shell script named <filename>cole-config</filename> will be installed in <filename>PREFIX/bin</filename> if you used the the <userinput>--prefix=PREFIX</userinput> argument, or in <filename>/usr/local/bin</filename> if you didn't. That directory must be listed in the content of the enviroment variable PATH when configuring another program that uses cole.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If you system support it, will be compiled and installed shared libraries, to minimize size of the executables. By this reason, is important to include the directory <filename>PREFIX/bin</filename> or <filename>/usr/local/bin</filename> (which appropiate) in the file that your system command <filename>ldconfig</filename> reads in order to regenerate the list of shared libraries (in some systems, you can list the directory in the content of the enviroment variable LD_LIBRARY_PATH instead).
|
If you system support it, will be compiled and installed shared libraries, to minimize size of the executables. By this reason, is important to include the directory <filename>PREFIX/bin</filename> or <filename>/usr/local/bin</filename> (which appropiate) in the file that your system command <filename>ldconfig</filename> reads in order to regenerate the list of shared libraries (in some systems, you can list the directory in the content of the enviroment variable LD_LIBRARY_PATH instead).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|||||||
@@ -1,412 +1,412 @@
|
|||||||
|
|
||||||
<chapter id="gpl-license">
|
<chapter id="gpl-license">
|
||||||
<title>
|
<title>
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
</title>
|
</title>
|
||||||
<para>
|
<para>
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it's not allowed.
|
of this license document, but changing it's not allowed.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="gpl-license-preamble">
|
<sect1 id="gpl-license-preamble">
|
||||||
<title>
|
<title>
|
||||||
Preamble
|
Preamble
|
||||||
</title>
|
</title>
|
||||||
<para>
|
<para>
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
</para>
|
</para>
|
||||||
</sect1> <!-- gpl-preamble -->
|
</sect1> <!-- gpl-preamble -->
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="gpl-license-terms">
|
<sect1 id="gpl-license-terms">
|
||||||
<title>
|
<title>
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
</title>
|
</title>
|
||||||
<para>
|
<para>
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Thus, it's not the intent of this section to claim rights or contest
|
Thus, it's not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it's up to the author/donor to decide if he or she is willing
|
system; it's up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
</para>
|
</para>
|
||||||
</sect1> <!-- gpl-terms -->
|
</sect1> <!-- gpl-terms -->
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="gpl-license-how-to-apply">
|
<sect1 id="gpl-license-how-to-apply">
|
||||||
<title>
|
<title>
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
</title>
|
</title>
|
||||||
<para>
|
<para>
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
<emphasis>one line to give the program's name and a brief idea of what it does.</emphasis>
|
<emphasis>one line to give the program's name and a brief idea of what it does.</emphasis>
|
||||||
Copyright (C) <emphasis>year</emphasis> <emphasis>name of author</emphasis>
|
Copyright (C) <emphasis>year</emphasis> <emphasis>name of author</emphasis>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</screen>
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</screen>
|
||||||
<para>
|
<para>
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
Gnomovision version 69, Copyright (C) <emphasis>year</emphasis> <emphasis>name of author</emphasis>
|
Gnomovision version 69, Copyright (C) <emphasis>year</emphasis> <emphasis>name of author</emphasis>
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||||
type `show w'. This is free software, and you are welcome
|
type `show w'. This is free software, and you are welcome
|
||||||
to redistribute it under certain conditions; type `show c'
|
to redistribute it under certain conditions; type `show c'
|
||||||
for details.</screen>
|
for details.</screen>
|
||||||
<para>
|
<para>
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
</para>
|
</para>
|
||||||
<screen>
|
<screen>
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<emphasis>signature of Ty Coon</emphasis>, 1 April 1989
|
<emphasis>signature of Ty Coon</emphasis>, 1 April 1989
|
||||||
Ty Coon, President of Vice</screen>
|
Ty Coon, President of Vice</screen>
|
||||||
<para>
|
<para>
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
</para>
|
</para>
|
||||||
</sect1> <!-- gpl-how-to-apply -->
|
</sect1> <!-- gpl-how-to-apply -->
|
||||||
</chapter> <!-- gpl -->
|
</chapter> <!-- gpl -->
|
||||||
|
|
||||||
|
|||||||
@@ -1,89 +1,89 @@
|
|||||||
|
|
||||||
|
|
||||||
<sect1 id="what-is-cole">
|
<sect1 id="what-is-cole">
|
||||||
<title>What is cole?</title>
|
<title>What is cole?</title>
|
||||||
<!-- NOTE: this section must have the same content of the `README' file -->
|
<!-- NOTE: this section must have the same content of the `README' file -->
|
||||||
<para>
|
<para>
|
||||||
cole is a free C OLE library.
|
cole is a free C OLE library.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
cole is <link linkend="distribution-and-freedom">distributed</link> under the terms of the <link linkend="gpl-license">GNU General Public License</link> (GPL) to give an impulse to the Free Software. cole distribution license is compatible with the <ulink URL="http://www.opensource.org/">Open Source</ulink> definition.
|
cole is <link linkend="distribution-and-freedom">distributed</link> under the terms of the <link linkend="gpl-license">GNU General Public License</link> (GPL) to give an impulse to the Free Software. cole distribution license is compatible with the <ulink URL="http://www.opensource.org/">Open Source</ulink> definition.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Using cole, you can access Microsoft' Structured Storage files. The most popular Microsoft's programs generate Structured Storage files, incluiding the Microsoft' suite for offices. StarDivision' suite (StarOffice) generate Structured Storage files too. FlashPix file format is Structured Storage too.
|
Using cole, you can access Microsoft' Structured Storage files. The most popular Microsoft's programs generate Structured Storage files, incluiding the Microsoft' suite for offices. StarDivision' suite (StarOffice) generate Structured Storage files too. FlashPix file format is Structured Storage too.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
What is a Structured Storage file? Inside a Structured Storage file there is a filesystem, with directories and files, which Microsoft calls containers and streams. Using cole you can travel through such filesystem and access the files.
|
What is a Structured Storage file? Inside a Structured Storage file there is a filesystem, with directories and files, which Microsoft calls containers and streams. Using cole you can travel through such filesystem and access the files.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
cole doesn't know about internal structure of a stream, it only reads the raw data. You can use the Microsoft's documentation available at <ulink URL="http://msdn.microsoft.com/">http://msdn.microsoft.com</ulink> or the information available at <ulink URL="http://www.wotsit.org/">http://www.wotsit.org</ulink> to know the binary file format of the streams. If you know anything in the side of StarDivision email me. FlashPix file format is well documented.
|
cole doesn't know about internal structure of a stream, it only reads the raw data. You can use the Microsoft's documentation available at <ulink URL="http://msdn.microsoft.com/">http://msdn.microsoft.com</ulink> or the information available at <ulink URL="http://www.wotsit.org/">http://www.wotsit.org</ulink> to know the binary file format of the streams. If you know anything in the side of StarDivision email me. FlashPix file format is well documented.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
cole was developed using the information available at <ulink URL="http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html">http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html</ulink> and the OLE::Storage Perl module from the same site, and no information from any other source (incluiding Microsoft) has been used.
|
cole was developed using the information available at <ulink URL="http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html">http://wwwwbs.cs.tu-berlin.de/~schwartz/pmh/guide.html</ulink> and the OLE::Storage Perl module from the same site, and no information from any other source (incluiding Microsoft) has been used.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="features">
|
<sect1 id="features">
|
||||||
<title>Features</title>
|
<title>Features</title>
|
||||||
<para>
|
<para>
|
||||||
cole 2.x release series:
|
cole 2.x release series:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Can open Structured Storage files generated with programs from Microsoft, StarDivision and FlashPix.
|
Can open Structured Storage files generated with programs from Microsoft, StarDivision and FlashPix.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Is written in C, for better performance.
|
Is written in C, for better performance.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Should compile in UNIX-like systems with ANSI C libraries and a ANSI C compiler.
|
Should compile in UNIX-like systems with ANSI C libraries and a ANSI C compiler.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Has a new good-looking API, modelled after ANSI C <filename>stdio.h</filename> routines.
|
Has a new good-looking API, modelled after ANSI C <filename>stdio.h</filename> routines.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Uses standard automake, autoconf and libtool generated files.
|
Uses standard automake, autoconf and libtool generated files.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Provides a standard <filename>configure</filename> script.
|
Provides a standard <filename>configure</filename> script.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Builds shared (dynamic) libraries if the plattform and libtool support it.
|
Builds shared (dynamic) libraries if the plattform and libtool support it.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Provides standard targets in the Makefile (ie. <userinput>install</userinput>, <userinput>clean</userinput>, etc).
|
Provides standard targets in the Makefile (ie. <userinput>install</userinput>, <userinput>clean</userinput>, etc).
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Can use (thanks to the <filename>configure</filename> script) plattform dependent system calls for better performance.
|
Can use (thanks to the <filename>configure</filename> script) plattform dependent system calls for better performance.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="requirements-to-compile">
|
<sect1 id="requirements-to-compile">
|
||||||
<title>Requirements to compile</title>
|
<title>Requirements to compile</title>
|
||||||
<para>
|
<para>
|
||||||
To have a system with ANSI C libraries, a ANSI C compiler, a <filename>make</filename> program and the shell <filename>/bin/sh</filename>.
|
To have a system with ANSI C libraries, a ANSI C compiler, a <filename>make</filename> program and the shell <filename>/bin/sh</filename>.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,60 +1,60 @@
|
|||||||
|
|
||||||
<sect1 id="distribution-and-freedom">
|
<sect1 id="distribution-and-freedom">
|
||||||
<title>Distribution and Freedom</title>
|
<title>Distribution and Freedom</title>
|
||||||
<para>
|
<para>
|
||||||
cole is Free Software, which means is distributed under a license that protect your freedom. cole distribution license is compatible with the <ulink URL="http://www.opensource.org/">Open Source</ulink> definition.
|
cole is Free Software, which means is distributed under a license that protect your freedom. cole distribution license is compatible with the <ulink URL="http://www.opensource.org/">Open Source</ulink> definition.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
cole is distributed under the terms of the <link linkend="gpl-license">GNU General Public License</link> (GPL). A copy of the license is in the file <filename>COPYING</filename> in the source code and in this document. Particulary, this means at least two things:
|
cole is distributed under the terms of the <link linkend="gpl-license">GNU General Public License</link> (GPL). A copy of the license is in the file <filename>COPYING</filename> in the source code and in this document. Particulary, this means at least two things:
|
||||||
</para>
|
</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
All the code statically or dinamically linked against cole must be distributed under the terms of a license compatible with GPL.
|
All the code statically or dinamically linked against cole must be distributed under the terms of a license compatible with GPL.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
If you change the cole source code and you want to distribute a compiled version, you must release the changed cole source code too.
|
If you change the cole source code and you want to distribute a compiled version, you must release the changed cole source code too.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="trademarks">
|
<sect1 id="trademarks">
|
||||||
<title>Trademarks</title>
|
<title>Trademarks</title>
|
||||||
<para>
|
<para>
|
||||||
"Microsoft Word", "Microsoft Excel", "Microsoft Publisher" and "Microsoft Power Point" are trademarks of Microsoft Corporation.
|
"Microsoft Word", "Microsoft Excel", "Microsoft Publisher" and "Microsoft Power Point" are trademarks of Microsoft Corporation.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
"StarOffice" may be is a trademark of StarDivision.
|
"StarOffice" may be is a trademark of StarDivision.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
"FlashPix" may be is a trademark.
|
"FlashPix" may be is a trademark.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
"UNIX" is a trademark.
|
"UNIX" is a trademark.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
"Free Software" is not trademark of anyone, but it's an important term in the Free Software community, and for the Free Software Foundation.
|
"Free Software" is not trademark of anyone, but it's an important term in the Free Software community, and for the Free Software Foundation.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
All other trademarks are the property of their respective owners.
|
All other trademarks are the property of their respective owners.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If another trademark is mentioned in this document and it needs to be listed above, please email to the maintainer (&maintainer-email-ulink;).
|
If another trademark is mentioned in this document and it needs to be listed above, please email to the maintainer (&maintainer-email-ulink;).
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|
||||||
<sect1 id="copyright-and-disclaimer">
|
<sect1 id="copyright-and-disclaimer">
|
||||||
<title>Copyright and disclaimer</title>
|
<title>Copyright and disclaimer</title>
|
||||||
<para>
|
<para>
|
||||||
This document is copyright 1999 by &author-name-full;. This document is free software; you can redistribute it and/or modify it under the terms of the <link linkend="gpl-license">GNU General Public License</link> as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
This document is copyright 1999 by &author-name-full;. This document is free software; you can redistribute it and/or modify it under the terms of the <link linkend="gpl-license">GNU General Public License</link> as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
This document is provided as is without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this document, the author/maintainer/contributors assume(s) no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
|
This document is provided as is without any express or implied warranties. While every effort has been taken to ensure the accuracy of the information contained in this document, the author/maintainer/contributors assume(s) no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
*.bak
|
*.bak
|
||||||
|
|||||||
@@ -1,434 +1,434 @@
|
|||||||
<!-- ##### SECTION Title ##### -->
|
<!-- ##### SECTION Title ##### -->
|
||||||
API
|
API
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
Public cole API for the present release.
|
Public cole API for the present release.
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
Note: The separator character for filename components is '/'. So, a filename argument can be something like "/Macros/VB/Project1".
|
Note: The separator character for filename components is '/'. So, a filename argument can be something like "/Macros/VB/Project1".
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### MACRO COLE_MAJOR_VERSION ##### -->
|
<!-- ##### MACRO COLE_MAJOR_VERSION ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO COLE_MINOR_VERSION ##### -->
|
<!-- ##### MACRO COLE_MINOR_VERSION ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO COLE_MICRO_VERSION ##### -->
|
<!-- ##### MACRO COLE_MICRO_VERSION ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### VARIABLE cole_major_version ##### -->
|
<!-- ##### VARIABLE cole_major_version ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### VARIABLE cole_minor_version ##### -->
|
<!-- ##### VARIABLE cole_minor_version ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### VARIABLE cole_micro_version ##### -->
|
<!-- ##### VARIABLE cole_micro_version ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### VARIABLE cole_version ##### -->
|
<!-- ##### VARIABLE cole_version ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### VARIABLE cole_host_info ##### -->
|
<!-- ##### VARIABLE cole_host_info ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ENUM COLERRNO ##### -->
|
<!-- ##### ENUM COLERRNO ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_perror ##### -->
|
<!-- ##### FUNCTION cole_perror ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@s:
|
@s:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEFS ##### -->
|
<!-- ##### STRUCT COLEFS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEDIR ##### -->
|
<!-- ##### STRUCT COLEDIR ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEDIRENT ##### -->
|
<!-- ##### STRUCT COLEDIRENT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEFILE ##### -->
|
<!-- ##### STRUCT COLEFILE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_mount ##### -->
|
<!-- ##### FUNCTION cole_mount ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@filename:
|
@filename:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_umount ##### -->
|
<!-- ##### FUNCTION cole_umount ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_print_tree ##### -->
|
<!-- ##### FUNCTION cole_print_tree ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_locate_filename ##### -->
|
<!-- ##### FUNCTION cole_locate_filename ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@filename:
|
@filename:
|
||||||
@info:
|
@info:
|
||||||
@action:
|
@action:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_recurse_tree ##### -->
|
<!-- ##### FUNCTION cole_recurse_tree ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@info:
|
@info:
|
||||||
@inroot:
|
@inroot:
|
||||||
@indirentry:
|
@indirentry:
|
||||||
@indir:
|
@indir:
|
||||||
@outdir:
|
@outdir:
|
||||||
@visitdir:
|
@visitdir:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fopen ##### -->
|
<!-- ##### FUNCTION cole_fopen ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@filename:
|
@filename:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fopen_direntry ##### -->
|
<!-- ##### FUNCTION cole_fopen_direntry ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
<!-- # Unused Parameters # -->
|
<!-- # Unused Parameters # -->
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fclose ##### -->
|
<!-- ##### FUNCTION cole_fclose ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fread ##### -->
|
<!-- ##### FUNCTION cole_fread ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@ptr:
|
@ptr:
|
||||||
@size:
|
@size:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_feof ##### -->
|
<!-- ##### FUNCTION cole_feof ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fsize ##### -->
|
<!-- ##### FUNCTION cole_fsize ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_ftell ##### -->
|
<!-- ##### FUNCTION cole_ftell ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fseek ##### -->
|
<!-- ##### FUNCTION cole_fseek ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@delta:
|
@delta:
|
||||||
@direction:
|
@direction:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_frewind ##### -->
|
<!-- ##### FUNCTION cole_frewind ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_opendir_rootdir ##### -->
|
<!-- ##### FUNCTION cole_opendir_rootdir ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_opendir_direntry ##### -->
|
<!-- ##### FUNCTION cole_opendir_direntry ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_closedir ##### -->
|
<!-- ##### FUNCTION cole_closedir ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_visiteddirentry ##### -->
|
<!-- ##### FUNCTION cole_visiteddirentry ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_nextdirentry ##### -->
|
<!-- ##### FUNCTION cole_nextdirentry ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_isdir ##### -->
|
<!-- ##### FUNCTION cole_direntry_isdir ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_isfile ##### -->
|
<!-- ##### FUNCTION cole_direntry_isfile ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getname ##### -->
|
<!-- ##### FUNCTION cole_dir_getname ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getsize ##### -->
|
<!-- ##### FUNCTION cole_dir_getsize ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getsec1 ##### -->
|
<!-- ##### FUNCTION cole_dir_getsec1 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getsec2 ##### -->
|
<!-- ##### FUNCTION cole_dir_getsec2 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getdays1 ##### -->
|
<!-- ##### FUNCTION cole_dir_getdays1 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_dir_getdays2 ##### -->
|
<!-- ##### FUNCTION cole_dir_getdays2 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getname ##### -->
|
<!-- ##### FUNCTION cole_direntry_getname ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getsize ##### -->
|
<!-- ##### FUNCTION cole_direntry_getsize ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getdays1 ##### -->
|
<!-- ##### FUNCTION cole_direntry_getdays1 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getsec1 ##### -->
|
<!-- ##### FUNCTION cole_direntry_getsec1 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getdays2 ##### -->
|
<!-- ##### FUNCTION cole_direntry_getdays2 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry_getsec2 ##### -->
|
<!-- ##### FUNCTION cole_direntry_getsec2 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledirentry:
|
@coledirentry:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,75 +1,75 @@
|
|||||||
<!-- ##### FUNCTION cole_opendir ##### -->
|
<!-- ##### FUNCTION cole_opendir ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefilesystem:
|
@colefilesystem:
|
||||||
@colerrno:
|
@colerrno:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION OLEcode ##### -->
|
<!-- ##### FUNCTION OLEcode ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@OLEfilename:
|
@OLEfilename:
|
||||||
@trunc:
|
@trunc:
|
||||||
@stream_list:
|
@stream_list:
|
||||||
@root:
|
@root:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION freeOLEtree ##### -->
|
<!-- ##### FUNCTION freeOLEtree ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@tree:
|
@tree:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_ferror ##### -->
|
<!-- ##### FUNCTION cole_ferror ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_direntry ##### -->
|
<!-- ##### FUNCTION cole_direntry ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@coledir:
|
@coledir:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION verbosePPSTree ##### -->
|
<!-- ##### FUNCTION verbosePPSTree ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@pps_list:
|
@pps_list:
|
||||||
@root_pps:
|
@root_pps:
|
||||||
@level:
|
@level:
|
||||||
|
|
||||||
<!-- ##### FUNCTION OLEdecode ##### -->
|
<!-- ##### FUNCTION OLEdecode ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@OLEfilename:
|
@OLEfilename:
|
||||||
@stream_list:
|
@stream_list:
|
||||||
@root:
|
@root:
|
||||||
@_BDepot:
|
@_BDepot:
|
||||||
@_SDepot:
|
@_SDepot:
|
||||||
@_sbfile:
|
@_sbfile:
|
||||||
@_input:
|
@_input:
|
||||||
@max_level:
|
@max_level:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
<!-- ##### FUNCTION cole_fclearerror ##### -->
|
<!-- ##### FUNCTION cole_fclearerror ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@colefile:
|
@colefile:
|
||||||
|
|
||||||
|
|||||||
@@ -1,284 +1,284 @@
|
|||||||
<!-- ##### SECTION Title ##### -->
|
<!-- ##### SECTION Title ##### -->
|
||||||
Internals
|
Internals
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
cole internals - don't trust in anything here, because it may (and will) change.
|
cole internals - don't trust in anything here, because it may (and will) change.
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<para>
|
||||||
Contains calls to access directly the file system, and endianess care calls.
|
Contains calls to access directly the file system, and endianess care calls.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEFS ##### -->
|
<!-- ##### STRUCT COLEFS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEDIRENT ##### -->
|
<!-- ##### STRUCT COLEDIRENT ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEDIR ##### -->
|
<!-- ##### STRUCT COLEDIR ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### STRUCT COLEFILE ##### -->
|
<!-- ##### STRUCT COLEFILE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO F32 ##### -->
|
<!-- ##### MACRO F32 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO F64 ##### -->
|
<!-- ##### MACRO F64 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO U8 ##### -->
|
<!-- ##### MACRO U8 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO U16 ##### -->
|
<!-- ##### MACRO U16 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO U32 ##### -->
|
<!-- ##### MACRO U32 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION fil_sreadU16 ##### -->
|
<!-- ##### FUNCTION fil_sreadU16 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@in:
|
@in:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION fil_sreadU32 ##### -->
|
<!-- ##### FUNCTION fil_sreadU32 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@in:
|
@in:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION fil_sreadF64 ##### -->
|
<!-- ##### FUNCTION fil_sreadF64 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@in:
|
@in:
|
||||||
@Returns:
|
@Returns:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION fil_swriteU16 ##### -->
|
<!-- ##### FUNCTION fil_swriteU16 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@dest:
|
@dest:
|
||||||
@src:
|
@src:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION fil_swriteU32 ##### -->
|
<!-- ##### FUNCTION fil_swriteU32 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@dest:
|
@dest:
|
||||||
@src:
|
@src:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verbose_return ##### -->
|
<!-- ##### MACRO verbose_return ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO test ##### -->
|
<!-- ##### MACRO test ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@t:
|
@t:
|
||||||
@retval:
|
@retval:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO test_exitf ##### -->
|
<!-- ##### MACRO test_exitf ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@t:
|
@t:
|
||||||
@retval:
|
@retval:
|
||||||
@func:
|
@func:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO test_call ##### -->
|
<!-- ##### MACRO test_call ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@t:
|
@t:
|
||||||
@typeretval:
|
@typeretval:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO test_call_exitf ##### -->
|
<!-- ##### MACRO test_call_exitf ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@t:
|
@t:
|
||||||
@typeretval:
|
@typeretval:
|
||||||
@func:
|
@func:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO report_bug ##### -->
|
<!-- ##### MACRO report_bug ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@prog:
|
@prog:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO assert_return ##### -->
|
<!-- ##### MACRO assert_return ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@prog:
|
@prog:
|
||||||
@t:
|
@t:
|
||||||
@retval:
|
@retval:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verbose_d ##### -->
|
<!-- ##### MACRO verbose_d ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@n:
|
@n:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verbose ##### -->
|
<!-- ##### MACRO verbose ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@s:
|
@s:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verbose_wonl ##### -->
|
<!-- ##### MACRO verbose_wonl ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@s:
|
@s:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU8 ##### -->
|
<!-- ##### MACRO verboseU8 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@expr:
|
@expr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU16 ##### -->
|
<!-- ##### MACRO verboseU16 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@expr:
|
@expr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU32 ##### -->
|
<!-- ##### MACRO verboseU32 ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@expr:
|
@expr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseS ##### -->
|
<!-- ##### MACRO verboseS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@expr:
|
@expr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseS_wonl ##### -->
|
<!-- ##### MACRO verboseS_wonl ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@expr:
|
@expr:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO warning ##### -->
|
<!-- ##### MACRO warning ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@t:
|
@t:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU32Array ##### -->
|
<!-- ##### MACRO verboseU32Array ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@array:
|
@array:
|
||||||
@len:
|
@len:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU8Array_force ##### -->
|
<!-- ##### MACRO verboseU8Array_force ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@rec:
|
@rec:
|
||||||
@len:
|
@len:
|
||||||
@reclen:
|
@reclen:
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO verboseU8Array ##### -->
|
<!-- ##### MACRO verboseU8Array ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@rec:
|
@rec:
|
||||||
@len:
|
@len:
|
||||||
@reclen:
|
@reclen:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
The files in the subdirectory <filename>examples</filename> in the source code show the complete public <link linkend="cole-API">API</link> in action. Briefly, if you know how to use the <filename>stdio.h</filename> ANSI C calls, cole API will be very easy for you.
|
The files in the subdirectory <filename>examples</filename> in the source code show the complete public <link linkend="cole-API">API</link> in action. Briefly, if you know how to use the <filename>stdio.h</filename> ANSI C calls, cole API will be very easy for you.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
If you use <filename>autoconf</filename> in your own proyect, the included file <filename>cole.m4</filename> may be useful for you. It contains the m4 macro AM_PATH_COLE that detect the presense or ausence of the cole library in the system being configured. To use it:
|
If you use <filename>autoconf</filename> in your own proyect, the included file <filename>cole.m4</filename> may be useful for you. It contains the m4 macro AM_PATH_COLE that detect the presense or ausence of the cole library in the system being configured. To use it:
|
||||||
</para>
|
</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
If cole is not installed in your system (i.e. <filename>aclocal</filename> can't find <filename>cole.m4</filename>), add the content of <filename>cole.m4</filename> to your own <filename>acinclude.m4</filename> file (create it in case you haven't one).
|
If cole is not installed in your system (i.e. <filename>aclocal</filename> can't find <filename>cole.m4</filename>), add the content of <filename>cole.m4</filename> to your own <filename>acinclude.m4</filename> file (create it in case you haven't one).
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Add a line like <userinput>AM_PATH_COLE(2.0.0, [LIBS="$LIBS $COLE_LIBS" CFLAGS="$CFLAGS $COLE_CFLAGS"])</userinput> to your <filename>configure.in</filename> file. Here we are requesting for cole release 2.0.0, and adding the necessary flags to LIBS and CFLAGS.
|
Add a line like <userinput>AM_PATH_COLE(2.0.0, [LIBS="$LIBS $COLE_LIBS" CFLAGS="$CFLAGS $COLE_CFLAGS"])</userinput> to your <filename>configure.in</filename> file. Here we are requesting for cole release 2.0.0, and adding the necessary flags to LIBS and CFLAGS.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Run <userinput>aclocal</userinput> to generate the file <filename>aclocal.m4</filename>. This file will have many m4 macros, incluiding the cole m4 macro, and
|
Run <userinput>aclocal</userinput> to generate the file <filename>aclocal.m4</filename>. This file will have many m4 macros, incluiding the cole m4 macro, and
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Run <userinput>autoconf</userinput> to generate the script <filename>configure</filename>.
|
Run <userinput>autoconf</userinput> to generate the script <filename>configure</filename>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
<para>
|
<para>
|
||||||
Many <link linkend="cole-API">API</link> calls take an argument at the end called <link linkend="COLERRNO"><parameter>colerrno</parameter></link>. If it's not NULL and the call failed, it store the error code for fail, if any (if the call was successfully ended, its value is not modified).
|
Many <link linkend="cole-API">API</link> calls take an argument at the end called <link linkend="COLERRNO"><parameter>colerrno</parameter></link>. If it's not NULL and the call failed, it store the error code for fail, if any (if the call was successfully ended, its value is not modified).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
EXTRA_DIST = present.sdd sprsheet.sdc sprsheet.xls text.doc text.sdw \
|
EXTRA_DIST = present.sdd sprsheet.sdc sprsheet.xls text.doc text.sdw \
|
||||||
README-examples
|
README-examples
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
LDADD = $(top_builddir)/libcole.la
|
LDADD = $(top_builddir)/libcole.la
|
||||||
TESTS = filesystem directory file version
|
TESTS = filesystem directory file version
|
||||||
|
|
||||||
noinst_PROGRAMS = filesystem directory file demo version
|
noinst_PROGRAMS = filesystem directory file demo version
|
||||||
|
|
||||||
|
|||||||
@@ -1,369 +1,369 @@
|
|||||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
libdir = @libdir@
|
libdir = @libdir@
|
||||||
infodir = @infodir@
|
infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
AUTOCONF = @AUTOCONF@
|
AUTOCONF = @AUTOCONF@
|
||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
COLE_MAJOR = @COLE_MAJOR@
|
COLE_MAJOR = @COLE_MAJOR@
|
||||||
COLE_MICRO = @COLE_MICRO@
|
COLE_MICRO = @COLE_MICRO@
|
||||||
COLE_MINOR = @COLE_MINOR@
|
COLE_MINOR = @COLE_MINOR@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
||||||
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
||||||
HOST_CPU = @HOST_CPU@
|
HOST_CPU = @HOST_CPU@
|
||||||
HOST_OS = @HOST_OS@
|
HOST_OS = @HOST_OS@
|
||||||
HOST_VENDOR = @HOST_VENDOR@
|
HOST_VENDOR = @HOST_VENDOR@
|
||||||
LD = @LD@
|
LD = @LD@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VERSION_INFO = @VERSION_INFO@
|
VERSION_INFO = @VERSION_INFO@
|
||||||
|
|
||||||
EXTRA_DIST = present.sdd sprsheet.sdc sprsheet.xls text.doc text.sdw README-examples
|
EXTRA_DIST = present.sdd sprsheet.sdc sprsheet.xls text.doc text.sdw README-examples
|
||||||
|
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
LDADD = $(top_builddir)/libcole.la
|
LDADD = $(top_builddir)/libcole.la
|
||||||
TESTS = filesystem directory file version
|
TESTS = filesystem directory file version
|
||||||
|
|
||||||
noinst_PROGRAMS = filesystem directory file demo version
|
noinst_PROGRAMS = filesystem directory file demo version
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES = topsrcdir.h
|
CONFIG_CLEAN_FILES = topsrcdir.h
|
||||||
PROGRAMS = $(noinst_PROGRAMS)
|
PROGRAMS = $(noinst_PROGRAMS)
|
||||||
|
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
filesystem_SOURCES = filesystem.c
|
filesystem_SOURCES = filesystem.c
|
||||||
filesystem_OBJECTS = filesystem.o
|
filesystem_OBJECTS = filesystem.o
|
||||||
filesystem_LDADD = $(LDADD)
|
filesystem_LDADD = $(LDADD)
|
||||||
filesystem_DEPENDENCIES = $(top_builddir)/libcole.la
|
filesystem_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
filesystem_LDFLAGS =
|
filesystem_LDFLAGS =
|
||||||
directory_SOURCES = directory.c
|
directory_SOURCES = directory.c
|
||||||
directory_OBJECTS = directory.o
|
directory_OBJECTS = directory.o
|
||||||
directory_LDADD = $(LDADD)
|
directory_LDADD = $(LDADD)
|
||||||
directory_DEPENDENCIES = $(top_builddir)/libcole.la
|
directory_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
directory_LDFLAGS =
|
directory_LDFLAGS =
|
||||||
file_SOURCES = file.c
|
file_SOURCES = file.c
|
||||||
file_OBJECTS = file.o
|
file_OBJECTS = file.o
|
||||||
file_LDADD = $(LDADD)
|
file_LDADD = $(LDADD)
|
||||||
file_DEPENDENCIES = $(top_builddir)/libcole.la
|
file_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
file_LDFLAGS =
|
file_LDFLAGS =
|
||||||
demo_SOURCES = demo.c
|
demo_SOURCES = demo.c
|
||||||
demo_OBJECTS = demo.o
|
demo_OBJECTS = demo.o
|
||||||
demo_LDADD = $(LDADD)
|
demo_LDADD = $(LDADD)
|
||||||
demo_DEPENDENCIES = $(top_builddir)/libcole.la
|
demo_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
demo_LDFLAGS =
|
demo_LDFLAGS =
|
||||||
version_SOURCES = version.c
|
version_SOURCES = version.c
|
||||||
version_OBJECTS = version.o
|
version_OBJECTS = version.o
|
||||||
version_LDADD = $(LDADD)
|
version_LDADD = $(LDADD)
|
||||||
version_DEPENDENCIES = $(top_builddir)/libcole.la
|
version_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
version_LDFLAGS =
|
version_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
DIST_COMMON = Makefile.am Makefile.in topsrcdir.h.in
|
DIST_COMMON = Makefile.am Makefile.in topsrcdir.h.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = gtar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = filesystem.c directory.c file.c demo.c version.c
|
SOURCES = filesystem.c directory.c file.c demo.c version.c
|
||||||
OBJECTS = filesystem.o directory.o file.o demo.o version.o
|
OBJECTS = filesystem.o directory.o file.o demo.o version.o
|
||||||
|
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .lo .o .s
|
.SUFFIXES: .S .c .lo .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
topsrcdir.h: $(top_builddir)/config.status topsrcdir.h.in
|
topsrcdir.h: $(top_builddir)/config.status topsrcdir.h.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
mostlyclean-noinstPROGRAMS:
|
mostlyclean-noinstPROGRAMS:
|
||||||
|
|
||||||
clean-noinstPROGRAMS:
|
clean-noinstPROGRAMS:
|
||||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||||
|
|
||||||
distclean-noinstPROGRAMS:
|
distclean-noinstPROGRAMS:
|
||||||
|
|
||||||
maintainer-clean-noinstPROGRAMS:
|
maintainer-clean-noinstPROGRAMS:
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.s.o:
|
.s.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.S.o:
|
.S.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
mostlyclean-compile:
|
mostlyclean-compile:
|
||||||
-rm -f *.o core *.core
|
-rm -f *.o core *.core
|
||||||
|
|
||||||
clean-compile:
|
clean-compile:
|
||||||
|
|
||||||
distclean-compile:
|
distclean-compile:
|
||||||
-rm -f *.tab.c
|
-rm -f *.tab.c
|
||||||
|
|
||||||
maintainer-clean-compile:
|
maintainer-clean-compile:
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
.s.lo:
|
.s.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
.S.lo:
|
.S.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
|
||||||
clean-libtool:
|
clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
maintainer-clean-libtool:
|
||||||
|
|
||||||
filesystem: $(filesystem_OBJECTS) $(filesystem_DEPENDENCIES)
|
filesystem: $(filesystem_OBJECTS) $(filesystem_DEPENDENCIES)
|
||||||
@rm -f filesystem
|
@rm -f filesystem
|
||||||
$(LINK) $(filesystem_LDFLAGS) $(filesystem_OBJECTS) $(filesystem_LDADD) $(LIBS)
|
$(LINK) $(filesystem_LDFLAGS) $(filesystem_OBJECTS) $(filesystem_LDADD) $(LIBS)
|
||||||
|
|
||||||
directory: $(directory_OBJECTS) $(directory_DEPENDENCIES)
|
directory: $(directory_OBJECTS) $(directory_DEPENDENCIES)
|
||||||
@rm -f directory
|
@rm -f directory
|
||||||
$(LINK) $(directory_LDFLAGS) $(directory_OBJECTS) $(directory_LDADD) $(LIBS)
|
$(LINK) $(directory_LDFLAGS) $(directory_OBJECTS) $(directory_LDADD) $(LIBS)
|
||||||
|
|
||||||
file: $(file_OBJECTS) $(file_DEPENDENCIES)
|
file: $(file_OBJECTS) $(file_DEPENDENCIES)
|
||||||
@rm -f file
|
@rm -f file
|
||||||
$(LINK) $(file_LDFLAGS) $(file_OBJECTS) $(file_LDADD) $(LIBS)
|
$(LINK) $(file_LDFLAGS) $(file_OBJECTS) $(file_LDADD) $(LIBS)
|
||||||
|
|
||||||
demo: $(demo_OBJECTS) $(demo_DEPENDENCIES)
|
demo: $(demo_OBJECTS) $(demo_DEPENDENCIES)
|
||||||
@rm -f demo
|
@rm -f demo
|
||||||
$(LINK) $(demo_LDFLAGS) $(demo_OBJECTS) $(demo_LDADD) $(LIBS)
|
$(LINK) $(demo_LDFLAGS) $(demo_OBJECTS) $(demo_LDADD) $(LIBS)
|
||||||
|
|
||||||
version: $(version_OBJECTS) $(version_DEPENDENCIES)
|
version: $(version_OBJECTS) $(version_DEPENDENCIES)
|
||||||
@rm -f version
|
@rm -f version
|
||||||
$(LINK) $(version_LDFLAGS) $(version_OBJECTS) $(version_LDADD) $(LIBS)
|
$(LINK) $(version_LDFLAGS) $(version_OBJECTS) $(version_LDADD) $(LIBS)
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $$unique $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||||
|
|
||||||
mostlyclean-tags:
|
mostlyclean-tags:
|
||||||
|
|
||||||
clean-tags:
|
clean-tags:
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID
|
||||||
|
|
||||||
maintainer-clean-tags:
|
maintainer-clean-tags:
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||||
|
|
||||||
subdir = examples
|
subdir = examples
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
check-TESTS: $(TESTS)
|
check-TESTS: $(TESTS)
|
||||||
@failed=0; all=0; \
|
@failed=0; all=0; \
|
||||||
srcdir=$(srcdir); export srcdir; \
|
srcdir=$(srcdir); export srcdir; \
|
||||||
for tst in $(TESTS); do \
|
for tst in $(TESTS); do \
|
||||||
if test -f $$tst; then dir=.; \
|
if test -f $$tst; then dir=.; \
|
||||||
else dir="$(srcdir)"; fi; \
|
else dir="$(srcdir)"; fi; \
|
||||||
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
|
||||||
all=`expr $$all + 1`; \
|
all=`expr $$all + 1`; \
|
||||||
echo "PASS: $$tst"; \
|
echo "PASS: $$tst"; \
|
||||||
elif test $$? -ne 77; then \
|
elif test $$? -ne 77; then \
|
||||||
all=`expr $$all + 1`; \
|
all=`expr $$all + 1`; \
|
||||||
failed=`expr $$failed + 1`; \
|
failed=`expr $$failed + 1`; \
|
||||||
echo "FAIL: $$tst"; \
|
echo "FAIL: $$tst"; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
if test "$$failed" -eq 0; then \
|
if test "$$failed" -eq 0; then \
|
||||||
banner="All $$all tests passed"; \
|
banner="All $$all tests passed"; \
|
||||||
else \
|
else \
|
||||||
banner="$$failed of $$all tests failed"; \
|
banner="$$failed of $$all tests failed"; \
|
||||||
fi; \
|
fi; \
|
||||||
dashes=`echo "$$banner" | sed s/./=/g`; \
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
echo "$$banner"; \
|
echo "$$banner"; \
|
||||||
echo "$$dashes"; \
|
echo "$$dashes"; \
|
||||||
test "$$failed" -eq 0
|
test "$$failed" -eq 0
|
||||||
info-am:
|
info-am:
|
||||||
info: info-am
|
info: info-am
|
||||||
dvi-am:
|
dvi-am:
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
installcheck-am:
|
||||||
installcheck: installcheck-am
|
installcheck: installcheck-am
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
install-exec: install-exec-am
|
install-exec: install-exec-am
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
install: install-am
|
||||||
uninstall-am:
|
uninstall-am:
|
||||||
uninstall: uninstall-am
|
uninstall: uninstall-am
|
||||||
all-am: Makefile $(PROGRAMS)
|
all-am: Makefile $(PROGRAMS)
|
||||||
all-redirect: all-am
|
all-redirect: all-am
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
mostlyclean-libtool mostlyclean-tags \
|
||||||
mostlyclean-generic
|
mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
|
clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
|
||||||
clean-generic mostlyclean-am
|
clean-generic mostlyclean-am
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile \
|
distclean-am: distclean-noinstPROGRAMS distclean-compile \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
distclean-libtool distclean-tags distclean-generic \
|
||||||
clean-am
|
clean-am
|
||||||
-rm -f libtool
|
-rm -f libtool
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
maintainer-clean-compile maintainer-clean-libtool \
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
maintainer-clean-tags maintainer-clean-generic \
|
||||||
distclean-am
|
distclean-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
|
distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
|
||||||
info-am info dvi-am dvi check check-am installcheck-am installcheck \
|
info-am info dvi-am dvi check check-am installcheck-am installcheck \
|
||||||
install-exec-am install-exec install-data-am install-data install-am \
|
install-exec-am install-exec install-data-am install-data install-am \
|
||||||
install uninstall-am uninstall all-redirect all-am all installdirs \
|
install uninstall-am uninstall all-redirect all-am all installdirs \
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
mostlyclean-generic distclean-generic clean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
present.sdd - StarOffice 5.0 presentation.
|
present.sdd - StarOffice 5.0 presentation.
|
||||||
sprsheet.sdc - StarOffice 5.0 spreadsheet.
|
sprsheet.sdc - StarOffice 5.0 spreadsheet.
|
||||||
sprsheet.xls - Microsoft Excel 95 spreadsheet.
|
sprsheet.xls - Microsoft Excel 95 spreadsheet.
|
||||||
text.sdw - StarOffice 5.0 text.
|
text.sdw - StarOffice 5.0 text.
|
||||||
|
|
||||||
All the files above was generated using the free StarOffice 5.0 Personal
|
All the files above was generated using the free StarOffice 5.0 Personal
|
||||||
Edition.
|
Edition.
|
||||||
|
|
||||||
text.doc - Microsoft Word 97 text with an incrusted image.
|
text.doc - Microsoft Word 97 text with an incrusted image.
|
||||||
|
|
||||||
|
|||||||
@@ -1,159 +1,159 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole using sample.
|
cole using sample.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* To compile this file outside cole source tree,
|
/* To compile this file outside cole source tree,
|
||||||
you must include here <cole/cole.h> instead <cole.h> */
|
you must include here <cole/cole.h> instead <cole.h> */
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "demo"
|
#define PRGNAME "demo"
|
||||||
#define BUFFER_SIZE 128
|
#define BUFFER_SIZE 128
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLEDIR * cd;
|
COLEDIR * cd;
|
||||||
COLEDIRENT * cde;
|
COLEDIRENT * cde;
|
||||||
COLEFILE * cf;
|
COLEFILE * cf;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
char * entry_name;
|
char * entry_name;
|
||||||
char buffer[BUFFER_SIZE];
|
char buffer[BUFFER_SIZE];
|
||||||
size_t char_read;
|
size_t char_read;
|
||||||
size_t char_read_total;
|
size_t char_read_total;
|
||||||
|
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
fprintf (stderr, "cole demo. cole is a free C OLE library.\n"
|
fprintf (stderr, "cole demo. cole is a free C OLE library.\n"
|
||||||
"Usage: demo <FILE>\n");
|
"Usage: demo <FILE>\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* version info
|
* version info
|
||||||
*/
|
*/
|
||||||
printf ("Version info: (%d.%d.%d) (%d.%d.%d) (%s)\n",
|
printf ("Version info: (%d.%d.%d) (%d.%d.%d) (%s)\n",
|
||||||
COLE_MAJOR_VERSION, COLE_MINOR_VERSION, COLE_MICRO_VERSION,
|
COLE_MAJOR_VERSION, COLE_MINOR_VERSION, COLE_MICRO_VERSION,
|
||||||
cole_major_version, cole_minor_version, cole_micro_version,
|
cole_major_version, cole_minor_version, cole_micro_version,
|
||||||
cole_version);
|
cole_version);
|
||||||
printf ("Host info: (%s)\n", cole_host_info);
|
printf ("Host info: (%s)\n", cole_host_info);
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (argv[1], &colerrno);
|
cfs = cole_mount (argv[1], &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (cole_print_tree (cfs, &colerrno)) {
|
if (cole_print_tree (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cd = cole_opendir_rootdir (cfs, &colerrno);
|
cd = cole_opendir_rootdir (cfs, &colerrno);
|
||||||
if (cd == NULL) {
|
if (cd == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
for (cde = cole_visiteddirentry (cd); cde != NULL;
|
for (cde = cole_visiteddirentry (cd); cde != NULL;
|
||||||
cde = cole_nextdirentry (cd)) {
|
cde = cole_nextdirentry (cd)) {
|
||||||
if (cole_direntry_isdir (cde))
|
if (cole_direntry_isdir (cde))
|
||||||
printf ("DIR ");
|
printf ("DIR ");
|
||||||
else if (cole_direntry_isfile (cde)) {
|
else if (cole_direntry_isfile (cde)) {
|
||||||
printf ("FILE ");
|
printf ("FILE ");
|
||||||
/* open the file using their direntry */
|
/* open the file using their direntry */
|
||||||
cf = cole_fopen_direntry (cde, &colerrno);
|
cf = cole_fopen_direntry (cde, &colerrno);
|
||||||
if (cf == NULL) {
|
if (cf == NULL) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
cole_closedir (cd, NULL);
|
cole_closedir (cd, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
if (cole_fclose (cf, &colerrno)) {
|
if (cole_fclose (cf, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_closedir (cd, NULL);
|
cole_closedir (cd, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
printf ("???? ");
|
printf ("???? ");
|
||||||
printf ("%7u ", cole_direntry_getsize (cde));
|
printf ("%7u ", cole_direntry_getsize (cde));
|
||||||
entry_name = cole_direntry_getname (cde);
|
entry_name = cole_direntry_getname (cde);
|
||||||
printf ("%08lx-%08lx %08lx-%08lx\t",
|
printf ("%08lx-%08lx %08lx-%08lx\t",
|
||||||
cole_direntry_getdays1 (cde),
|
cole_direntry_getdays1 (cde),
|
||||||
cole_direntry_getsec1 (cde),
|
cole_direntry_getsec1 (cde),
|
||||||
cole_direntry_getdays2 (cde),
|
cole_direntry_getdays2 (cde),
|
||||||
cole_direntry_getsec2 (cde));
|
cole_direntry_getsec2 (cde));
|
||||||
if (!isprint ((int)entry_name[0]))
|
if (!isprint ((int)entry_name[0]))
|
||||||
printf ("'\\x%02x%s'\n", entry_name[0], entry_name+1);
|
printf ("'\\x%02x%s'\n", entry_name[0], entry_name+1);
|
||||||
else
|
else
|
||||||
printf ("'%s'\n", entry_name);
|
printf ("'%s'\n", entry_name);
|
||||||
}
|
}
|
||||||
if (cole_closedir (cd, &colerrno)) {
|
if (cole_closedir (cd, &colerrno)) {
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cf = cole_fopen (cfs, "\005SummaryInformation", &colerrno);
|
cf = cole_fopen (cfs, "\005SummaryInformation", &colerrno);
|
||||||
if (cf == NULL) {
|
if (cf == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
char_read_total = 0;
|
char_read_total = 0;
|
||||||
printf ("Reading: ");
|
printf ("Reading: ");
|
||||||
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno))) {
|
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno))) {
|
||||||
printf ("[%d]", char_read);
|
printf ("[%d]", char_read);
|
||||||
char_read_total += char_read;
|
char_read_total += char_read;
|
||||||
}
|
}
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
printf ("\nRead %d bytes from the stream '\\005SummaryInformation'\n",
|
printf ("\nRead %d bytes from the stream '\\005SummaryInformation'\n",
|
||||||
char_read_total);
|
char_read_total);
|
||||||
if (cole_fclose (cf, &colerrno)) {
|
if (cole_fclose (cf, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,121 +1,121 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole test.
|
cole test.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
#include <topsrcdir.h>
|
#include <topsrcdir.h>
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
MISSING TO TEST:
|
MISSING TO TEST:
|
||||||
cole_opendir_direntry
|
cole_opendir_direntry
|
||||||
cole_dir_getname
|
cole_dir_getname
|
||||||
cole_dir_getsize
|
cole_dir_getsize
|
||||||
cole_dir_getdays1
|
cole_dir_getdays1
|
||||||
cole_dir_getsec1
|
cole_dir_getsec1
|
||||||
cole_dir_getdays2
|
cole_dir_getdays2
|
||||||
cole_dir_getsec2
|
cole_dir_getsec2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "directory"
|
#define PRGNAME "directory"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLEDIR * cd;
|
COLEDIR * cd;
|
||||||
COLEDIRENT * cde;
|
COLEDIRENT * cde;
|
||||||
COLEFILE * cf;
|
COLEFILE * cf;
|
||||||
char * entry_name;
|
char * entry_name;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cd = cole_opendir_rootdir (cfs, &colerrno);
|
cd = cole_opendir_rootdir (cfs, &colerrno);
|
||||||
if (cd == NULL) {
|
if (cd == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
for (cde = cole_visiteddirentry (cd); cde != NULL;
|
for (cde = cole_visiteddirentry (cd); cde != NULL;
|
||||||
cde = cole_nextdirentry (cd)) {
|
cde = cole_nextdirentry (cd)) {
|
||||||
if (cole_direntry_isdir (cde))
|
if (cole_direntry_isdir (cde))
|
||||||
printf ("DIR ");
|
printf ("DIR ");
|
||||||
else if (cole_direntry_isfile (cde)) {
|
else if (cole_direntry_isfile (cde)) {
|
||||||
printf ("FILE");
|
printf ("FILE");
|
||||||
/* open the file using their direntry */
|
/* open the file using their direntry */
|
||||||
cf = cole_fopen_direntry (cde, &colerrno);
|
cf = cole_fopen_direntry (cde, &colerrno);
|
||||||
if (cf == NULL) {
|
if (cf == NULL) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
cole_closedir (cd, NULL);
|
cole_closedir (cd, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
/* Here we process cf */
|
/* Here we process cf */
|
||||||
if (cole_fclose (cf, &colerrno)) {
|
if (cole_fclose (cf, &colerrno)) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
cole_closedir (cd, NULL);
|
cole_closedir (cd, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
printf ("????");
|
printf ("????");
|
||||||
printf (" %7u", cole_direntry_getsize (cde));
|
printf (" %7u", cole_direntry_getsize (cde));
|
||||||
entry_name = cole_direntry_getname (cde);
|
entry_name = cole_direntry_getname (cde);
|
||||||
if (!isprint ((int)entry_name[0]))
|
if (!isprint ((int)entry_name[0]))
|
||||||
printf ("' \\x%02x%s'", entry_name[0], entry_name+1);
|
printf ("' \\x%02x%s'", entry_name[0], entry_name+1);
|
||||||
else
|
else
|
||||||
printf ("'%s'", entry_name);
|
printf ("'%s'", entry_name);
|
||||||
printf ("\t%08lx-%08lx %08lx-%08lx",
|
printf ("\t%08lx-%08lx %08lx-%08lx",
|
||||||
cole_direntry_getdays1 (cde),
|
cole_direntry_getdays1 (cde),
|
||||||
cole_direntry_getsec1 (cde),
|
cole_direntry_getsec1 (cde),
|
||||||
cole_direntry_getdays2 (cde),
|
cole_direntry_getdays2 (cde),
|
||||||
cole_direntry_getsec2 (cde));
|
cole_direntry_getsec2 (cde));
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
}
|
}
|
||||||
if (cole_closedir (cd, &colerrno)) {
|
if (cole_closedir (cd, &colerrno)) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,192 +1,192 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole test.
|
cole test.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
#include <topsrcdir.h>
|
#include <topsrcdir.h>
|
||||||
|
|
||||||
|
|
||||||
/* cole_fopen_direntry is tested in `directory.c' */
|
/* cole_fopen_direntry is tested in `directory.c' */
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "file"
|
#define PRGNAME "file"
|
||||||
#define BUFFER_SIZE 128
|
#define BUFFER_SIZE 128
|
||||||
#define FILENAME2_SIZE 108004
|
#define FILENAME2_SIZE 108004
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLEFILE * cf;
|
COLEFILE * cf;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
char buffer[BUFFER_SIZE];
|
char buffer[BUFFER_SIZE];
|
||||||
size_t char_read;
|
size_t char_read;
|
||||||
size_t char_read_total;
|
size_t char_read_total;
|
||||||
char *filename2 = "/ObjectPool/_994231763/\001Ole10Native";
|
char *filename2 = "/ObjectPool/_994231763/\001Ole10Native";
|
||||||
char *filename2_pretty = "/ObjectPool/_994231763/\\001Ole10Native";
|
char *filename2_pretty = "/ObjectPool/_994231763/\\001Ole10Native";
|
||||||
|
|
||||||
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
cf = cole_fopen (cfs, filename2, &colerrno);
|
cf = cole_fopen (cfs, filename2, &colerrno);
|
||||||
if (cf == NULL) {
|
if (cf == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
printf ("File size: %d\n", cole_fsize (cf));
|
printf ("File size: %d\n", cole_fsize (cf));
|
||||||
if (cole_fsize (cf) != FILENAME2_SIZE) {
|
if (cole_fsize (cf) != FILENAME2_SIZE) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
char_read_total = 0;
|
char_read_total = 0;
|
||||||
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno)))
|
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno)))
|
||||||
char_read_total += char_read;
|
char_read_total += char_read;
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
printf ("Read %d bytes from the stream `%s'\n", char_read_total,
|
printf ("Read %d bytes from the stream `%s'\n", char_read_total,
|
||||||
filename2_pretty);
|
filename2_pretty);
|
||||||
|
|
||||||
|
|
||||||
if (cole_frewind (cf, &colerrno)) {
|
if (cole_frewind (cf, &colerrno)) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
if (cole_ftell (cf) != 0) {
|
if (cole_ftell (cf) != 0) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_fseek (cf, 0, COLE_SEEK_END, &colerrno)) {
|
if (cole_fseek (cf, 0, COLE_SEEK_END, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
if (cole_ftell (cf) != FILENAME2_SIZE) {
|
if (cole_ftell (cf) != FILENAME2_SIZE) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_fseek (cf, 200, COLE_SEEK_END, &colerrno)) {
|
if (cole_fseek (cf, 200, COLE_SEEK_END, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
if (cole_ftell (cf) != FILENAME2_SIZE - 200) {
|
if (cole_ftell (cf) != FILENAME2_SIZE - 200) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_fseek (cf, 100, COLE_SEEK_FORWARD, &colerrno)) {
|
if (cole_fseek (cf, 100, COLE_SEEK_FORWARD, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
if (cole_ftell (cf) != FILENAME2_SIZE - 200 + 100) {
|
if (cole_ftell (cf) != FILENAME2_SIZE - 200 + 100) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_fseek (cf, 200, COLE_SEEK_BACKWARD, &colerrno)) {
|
if (cole_fseek (cf, 200, COLE_SEEK_BACKWARD, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
if (cole_ftell (cf) != FILENAME2_SIZE - 200 + 100 - 200) {
|
if (cole_ftell (cf) != FILENAME2_SIZE - 200 + 100 - 200) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cole_fseek (cf, FILENAME2_SIZE + 1, COLE_SEEK_SET, &colerrno)) {
|
if (!cole_fseek (cf, FILENAME2_SIZE + 1, COLE_SEEK_SET, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
|
|
||||||
if (cole_fseek (cf, FILENAME2_SIZE, COLE_SEEK_END, &colerrno)) {
|
if (cole_fseek (cf, FILENAME2_SIZE, COLE_SEEK_END, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
if (cole_ftell (cf) != 0) {
|
if (cole_ftell (cf) != 0) {
|
||||||
fprintf (stderr, "Test failed\n");
|
fprintf (stderr, "Test failed\n");
|
||||||
cole_fclose (cf, NULL);
|
cole_fclose (cf, NULL);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
printf ("File position: %d\n", cole_ftell (cf));
|
printf ("File position: %d\n", cole_ftell (cf));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (cole_fclose (cf, &colerrno)) {
|
if (cole_fclose (cf, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,102 +1,102 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole test.
|
cole test.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
#include <topsrcdir.h>
|
#include <topsrcdir.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "filesystem"
|
#define PRGNAME "filesystem"
|
||||||
|
|
||||||
|
|
||||||
/* To test cole_locate_filename() */
|
/* To test cole_locate_filename() */
|
||||||
struct str_info {
|
struct str_info {
|
||||||
char *name;
|
char *name;
|
||||||
size_t size;
|
size_t size;
|
||||||
};
|
};
|
||||||
COLE_LOCATE_ACTION_FUNC check_size;
|
COLE_LOCATE_ACTION_FUNC check_size;
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
|
|
||||||
/* To test cole_locate_filename() */
|
/* To test cole_locate_filename() */
|
||||||
#define FILENAME "/ObjectPool/_994231763/\001Ole10Native"
|
#define FILENAME "/ObjectPool/_994231763/\001Ole10Native"
|
||||||
struct str_info info = { FILENAME, 108004 };
|
struct str_info info = { FILENAME, 108004 };
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
cfs = cole_mount (COLE_TOPSRCDIR"/examples/text.doc", &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_print_tree (cfs, &colerrno)) {
|
if (cole_print_tree (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_locate_filename (cfs, FILENAME, &info, check_size,
|
if (cole_locate_filename (cfs, FILENAME, &info, check_size,
|
||||||
&colerrno)) {
|
&colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_recurse_tree (cfs, NULL, NULL, NULL, NULL, NULL, NULL,
|
if (cole_recurse_tree (cfs, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||||
&colerrno)) {
|
&colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror ("travel", colerrno);
|
cole_perror ("travel", colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* To test cole_locate_filename() */
|
/* To test cole_locate_filename() */
|
||||||
void
|
void
|
||||||
check_size (COLEDIRENT *cde, void *_info) {
|
check_size (COLEDIRENT *cde, void *_info) {
|
||||||
struct str_info *info = (struct str_info *)_info;
|
struct str_info *info = (struct str_info *)_info;
|
||||||
|
|
||||||
if (info->size != cole_direntry_getsize (cde))
|
if (info->size != cole_direntry_getsize (cde))
|
||||||
printf ("SIZE OF `%s' DOESN'T CHECK!\n", info->name);
|
printf ("SIZE OF `%s' DOESN'T CHECK!\n", info->name);
|
||||||
else
|
else
|
||||||
printf ("Size of `%s' is ok\n", info->name);
|
printf ("Size of `%s' is ok\n", info->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,41 +1,41 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COLE_TOPSRCDIR_H
|
#ifndef COLE_TOPSRCDIR_H
|
||||||
#define COLE_TOPSRCDIR_H
|
#define COLE_TOPSRCDIR_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define COLE_TOPSRCDIR "@top_srcdir@"
|
#define COLE_TOPSRCDIR "@top_srcdir@"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* COLE_TOPSRCDIR_H */
|
#endif /* COLE_TOPSRCDIR_H */
|
||||||
|
|
||||||
|
|||||||
@@ -1,42 +1,42 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole test.
|
cole test.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
printf ("cole version (defines): %d.%d.%d\n",
|
printf ("cole version (defines): %d.%d.%d\n",
|
||||||
COLE_MAJOR_VERSION, COLE_MINOR_VERSION, COLE_MICRO_VERSION);
|
COLE_MAJOR_VERSION, COLE_MINOR_VERSION, COLE_MICRO_VERSION);
|
||||||
printf ("cole version (variables): %d.%d.%d\n",
|
printf ("cole version (variables): %d.%d.%d\n",
|
||||||
cole_major_version, cole_minor_version, cole_micro_version);
|
cole_major_version, cole_minor_version, cole_micro_version);
|
||||||
printf ("cole version (cole_version): %s\n", cole_version);
|
printf ("cole version (cole_version): %s\n", cole_version);
|
||||||
printf ("cole host: %s\n", cole_host_info);
|
printf ("cole host: %s\n", cole_host_info);
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
278
cole/internal.c
278
cole/internal.c
@@ -1,139 +1,139 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if !defined(WIN32)
|
#if !defined(WIN32)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
|
|
||||||
#define MIN(a,b) ((a)<(b) ? (a) : (b))
|
#define MIN(a,b) ((a)<(b) ? (a) : (b))
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
__cole_extract_file (FILE **file, char **filename, U32 size, U32 pps_start,
|
__cole_extract_file (FILE **file, char **filename, U32 size, U32 pps_start,
|
||||||
U8 *BDepot, U8 *SDepot, FILE *sbfile, FILE *inputfile)
|
U8 *BDepot, U8 *SDepot, FILE *sbfile, FILE *inputfile)
|
||||||
{
|
{
|
||||||
/* FIXME rewrite this cleaner */
|
/* FIXME rewrite this cleaner */
|
||||||
|
|
||||||
U16 BlockSize, Offset;
|
U16 BlockSize, Offset;
|
||||||
U8 *Depot;
|
U8 *Depot;
|
||||||
FILE *infile;
|
FILE *infile;
|
||||||
long FilePos;
|
long FilePos;
|
||||||
size_t bytes_to_copy;
|
size_t bytes_to_copy;
|
||||||
U8 Block[0x0200];
|
U8 Block[0x0200];
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
FILE *ret;
|
FILE *ret;
|
||||||
|
|
||||||
*filename = (char *)malloc (TMPNAM_LEN);
|
*filename = (char *)malloc (TMPNAM_LEN);
|
||||||
if (*filename == NULL)
|
if (*filename == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (tmpnam (*filename) == NULL) {
|
if (tmpnam (*filename) == NULL) {
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
ret = fopen (*filename, "w+b");
|
ret = fopen (*filename, "w+b");
|
||||||
*file = ret;
|
*file = ret;
|
||||||
if (ret == NULL) {
|
if (ret == NULL) {
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
*filename = malloc (TMPNAM_LEN);
|
*filename = malloc (TMPNAM_LEN);
|
||||||
if (*filename == NULL)
|
if (*filename == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
strcpy(*filename, "/tmp/xlHtmlXXXXXX");
|
strcpy(*filename, "/tmp/xlHtmlXXXXXX");
|
||||||
ret = mkstemp(*filename);
|
ret = mkstemp(*filename);
|
||||||
if (ret == -1) {
|
if (ret == -1) {
|
||||||
free(*filename);
|
free(*filename);
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
*file = fdopen(ret, "w+b");
|
*file = fdopen(ret, "w+b");
|
||||||
if (*file == NULL) {
|
if (*file == NULL) {
|
||||||
free(*filename);
|
free(*filename);
|
||||||
close(ret);
|
close(ret);
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
/* unlink() is called so this file deletes when we are done with it */
|
/* unlink() is called so this file deletes when we are done with it */
|
||||||
unlink(*filename);
|
unlink(*filename);
|
||||||
#endif
|
#endif
|
||||||
if (size >= 0x1000) {
|
if (size >= 0x1000) {
|
||||||
/* read from big block depot */
|
/* read from big block depot */
|
||||||
Offset = 1;
|
Offset = 1;
|
||||||
BlockSize = 0x0200;
|
BlockSize = 0x0200;
|
||||||
infile = inputfile;
|
infile = inputfile;
|
||||||
Depot = BDepot;
|
Depot = BDepot;
|
||||||
} else {
|
} else {
|
||||||
/* read from small block file */
|
/* read from small block file */
|
||||||
Offset = 0;
|
Offset = 0;
|
||||||
BlockSize = 0x40;
|
BlockSize = 0x40;
|
||||||
infile = sbfile;
|
infile = sbfile;
|
||||||
Depot = SDepot;
|
Depot = SDepot;
|
||||||
}
|
}
|
||||||
while (pps_start != 0xfffffffeUL /*&& pps_start != 0xffffffffUL &&
|
while (pps_start != 0xfffffffeUL /*&& pps_start != 0xffffffffUL &&
|
||||||
pps_start != 0xfffffffdUL*/) {
|
pps_start != 0xfffffffdUL*/) {
|
||||||
FilePos = (long)((pps_start + Offset) * BlockSize);
|
FilePos = (long)((pps_start + Offset) * BlockSize);
|
||||||
if (FilePos < 0) {
|
if (FilePos < 0) {
|
||||||
fclose (*file);
|
fclose (*file);
|
||||||
remove (*filename);
|
remove (*filename);
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
bytes_to_copy = MIN ((U32)BlockSize, size);
|
bytes_to_copy = MIN ((U32)BlockSize, size);
|
||||||
if (fseek (infile, FilePos, SEEK_SET)) {
|
if (fseek (infile, FilePos, SEEK_SET)) {
|
||||||
fclose (*file);
|
fclose (*file);
|
||||||
remove (*filename);
|
remove (*filename);
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 4;
|
return 4;
|
||||||
}
|
}
|
||||||
fread (Block, bytes_to_copy, 1, infile);
|
fread (Block, bytes_to_copy, 1, infile);
|
||||||
if (ferror (infile)) {
|
if (ferror (infile)) {
|
||||||
fclose (*file);
|
fclose (*file);
|
||||||
remove (*filename);
|
remove (*filename);
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 5;
|
return 5;
|
||||||
}
|
}
|
||||||
fwrite (Block, bytes_to_copy, 1, *file);
|
fwrite (Block, bytes_to_copy, 1, *file);
|
||||||
if (ferror (*file)) {
|
if (ferror (*file)) {
|
||||||
fclose (*file);
|
fclose (*file);
|
||||||
remove (*filename);
|
remove (*filename);
|
||||||
free (*filename);
|
free (*filename);
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
pps_start = fil_sreadU32 (Depot + (pps_start * 4));
|
pps_start = fil_sreadU32 (Depot + (pps_start * 4));
|
||||||
size -= MIN ((U32)BlockSize, size);
|
size -= MIN ((U32)BlockSize, size);
|
||||||
if (size == 0)
|
if (size == 0)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
284
cole/internal.h
284
cole/internal.h
@@ -1,142 +1,142 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COLE_INTERNAL_H
|
#ifndef COLE_INTERNAL_H
|
||||||
#define COLE_INTERNAL_H
|
#define COLE_INTERNAL_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifndef COLE_SUPPORT_H
|
#ifndef COLE_SUPPORT_H
|
||||||
#include "support.h"
|
#include "support.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#define TMPNAM_LEN L_tmpnam
|
#define TMPNAM_LEN L_tmpnam
|
||||||
#else
|
#else
|
||||||
#define TMPNAM_LEN 18 /* /tmp/xlHtmlXXXXXX + NULL */
|
#define TMPNAM_LEN 18 /* /tmp/xlHtmlXXXXXX + NULL */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* This structure describe one stream. */
|
/* This structure describe one stream. */
|
||||||
struct pps_block
|
struct pps_block
|
||||||
{
|
{
|
||||||
char name[0x20];
|
char name[0x20];
|
||||||
char filename[TMPNAM_LEN]; /* valid only if type == 2 */
|
char filename[TMPNAM_LEN]; /* valid only if type == 2 */
|
||||||
U8 type; /* 5 == root, 1 == dir, 2 == file */
|
U8 type; /* 5 == root, 1 == dir, 2 == file */
|
||||||
U32 size; /* the size of the file,
|
U32 size; /* the size of the file,
|
||||||
valid only if type == 2 */
|
valid only if type == 2 */
|
||||||
U32 next; /* next entry in this level,
|
U32 next; /* next entry in this level,
|
||||||
in this directory */
|
in this directory */
|
||||||
U32 dir; /* valid only if type != 2 */
|
U32 dir; /* valid only if type != 2 */
|
||||||
U16 level; /* level in the ole tree */
|
U16 level; /* level in the ole tree */
|
||||||
U32 seconds1;
|
U32 seconds1;
|
||||||
U32 seconds2;
|
U32 seconds2;
|
||||||
U32 days1;
|
U32 days1;
|
||||||
U32 days2;
|
U32 days2;
|
||||||
U32 start; /* start block */
|
U32 start; /* start block */
|
||||||
|
|
||||||
/* private fields, used only inside OLEdecoded and OLEcode,
|
/* private fields, used only inside OLEdecoded and OLEcode,
|
||||||
don't modify them if you want to use OLEcode */
|
don't modify them if you want to use OLEcode */
|
||||||
U32 previous; /* previous pps, valid before reordering */
|
U32 previous; /* previous pps, valid before reordering */
|
||||||
U32 ppsnumber; /* pps number */
|
U32 ppsnumber; /* pps number */
|
||||||
};
|
};
|
||||||
typedef struct pps_block pps_entry;
|
typedef struct pps_block pps_entry;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Create a OLE stream tree from a file.
|
Create a OLE stream tree from a file.
|
||||||
Input: char *Olefilename = File to be decoded (ie. .xsl, .doc, .ppt).
|
Input: char *Olefilename = File to be decoded (ie. .xsl, .doc, .ppt).
|
||||||
. pps_entry ** stream_list = The stream tree.
|
. pps_entry ** stream_list = The stream tree.
|
||||||
. U32 * root = The number of root dir in stream_list.
|
. U32 * root = The number of root dir in stream_list.
|
||||||
. U8 **_BDepot, U8 **_SDepot, FILE **_sbfile, char **_sbfilename,
|
. U8 **_BDepot, U8 **_SDepot, FILE **_sbfile, char **_sbfilename,
|
||||||
. FILE **_input,
|
. FILE **_input,
|
||||||
. = Exposes internals, read only.
|
. = Exposes internals, read only.
|
||||||
. U16 max_level = The maximum level on stream tree in which
|
. U16 max_level = The maximum level on stream tree in which
|
||||||
. streams will be actually extracted
|
. streams will be actually extracted
|
||||||
. to a file. 0 (zero) means extract all.
|
. to a file. 0 (zero) means extract all.
|
||||||
Output: 0 = Sucess.
|
Output: 0 = Sucess.
|
||||||
. 4 = Couldn't open OLEfilename file (can use perror).
|
. 4 = Couldn't open OLEfilename file (can use perror).
|
||||||
. 8 = OLEfilename file seems to contain plain text, not OLE file.
|
. 8 = OLEfilename file seems to contain plain text, not OLE file.
|
||||||
. 9 = OLEfilename is a binary file, but it have not OLEfile format.
|
. 9 = OLEfilename is a binary file, but it have not OLEfile format.
|
||||||
. 5 = Error reading from file, means OLEfilename file has a faulty
|
. 5 = Error reading from file, means OLEfilename file has a faulty
|
||||||
. OLE file format (UPDATE: not always).
|
. OLE file format (UPDATE: not always).
|
||||||
. 6 = Error removing temporal files. <-- this is never returned now
|
. 6 = Error removing temporal files. <-- this is never returned now
|
||||||
. 7 = Error creating temporal files, can use perror.
|
. 7 = Error creating temporal files, can use perror.
|
||||||
. 10 = Error allocating memory, there's no more memory.
|
. 10 = Error allocating memory, there's no more memory.
|
||||||
*/
|
*/
|
||||||
int __OLEdecode (char *OLEfilename, pps_entry ** stream_list, U32 * root,
|
int __OLEdecode (char *OLEfilename, pps_entry ** stream_list, U32 * root,
|
||||||
U8 **_BDepot, U8 **_SDepot, FILE **_sbfile, char **_sbfilename,
|
U8 **_BDepot, U8 **_SDepot, FILE **_sbfile, char **_sbfilename,
|
||||||
FILE **_input, U16 max_level);
|
FILE **_input, U16 max_level);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FROM COLE 2.0.0 API
|
* FROM COLE 2.0.0 API
|
||||||
*/
|
*/
|
||||||
struct _COLEFS {
|
struct _COLEFS {
|
||||||
/* This structure is for internal use only, not for the public API */
|
/* This structure is for internal use only, not for the public API */
|
||||||
pps_entry *tree;
|
pps_entry *tree;
|
||||||
U32 root; /* entry root, root pps_entry */
|
U32 root; /* entry root, root pps_entry */
|
||||||
U8 *BDepot;
|
U8 *BDepot;
|
||||||
U8 *SDepot;
|
U8 *SDepot;
|
||||||
FILE *sbfile;
|
FILE *sbfile;
|
||||||
char *sbfilename;
|
char *sbfilename;
|
||||||
FILE *file; /* actual file (the filesystem) */
|
FILE *file; /* actual file (the filesystem) */
|
||||||
};
|
};
|
||||||
struct _COLEDIRENT {
|
struct _COLEDIRENT {
|
||||||
/* This structure is for internal use only, not for the public API */
|
/* This structure is for internal use only, not for the public API */
|
||||||
U32 entry;
|
U32 entry;
|
||||||
struct _COLEDIR *dir; /* father */
|
struct _COLEDIR *dir; /* father */
|
||||||
};
|
};
|
||||||
struct _COLEDIR {
|
struct _COLEDIR {
|
||||||
/* This structure is for internal use only, not for the public API */
|
/* This structure is for internal use only, not for the public API */
|
||||||
U32 entry;
|
U32 entry;
|
||||||
struct _COLEDIRENT visited_entry;
|
struct _COLEDIRENT visited_entry;
|
||||||
struct _COLEFS *fs; /* father */
|
struct _COLEFS *fs; /* father */
|
||||||
};
|
};
|
||||||
struct _COLEFILE {
|
struct _COLEFILE {
|
||||||
/* This structure is for internal use only, not for the public API */
|
/* This structure is for internal use only, not for the public API */
|
||||||
U32 entry;
|
U32 entry;
|
||||||
FILE *file; /* actual extracted file */
|
FILE *file; /* actual extracted file */
|
||||||
char *filename; /* actual extracted file's name */
|
char *filename; /* actual extracted file's name */
|
||||||
U32 filesize; /* actual extracted file size */
|
U32 filesize; /* actual extracted file size */
|
||||||
struct _COLEFS *fs; /* father */
|
struct _COLEFS *fs; /* father */
|
||||||
U32 pos; /* file pointer position */
|
U32 pos; /* file pointer position */
|
||||||
};
|
};
|
||||||
int __cole_extract_file (FILE **file, char **filename, U32 size,
|
int __cole_extract_file (FILE **file, char **filename, U32 size,
|
||||||
U32 pps_start, U8 *BDepot, U8 *SDepot, FILE *sbfile,
|
U32 pps_start, U8 *BDepot, U8 *SDepot, FILE *sbfile,
|
||||||
FILE *inputfile);
|
FILE *inputfile);
|
||||||
#define _COLE_TYPE_DIR 1
|
#define _COLE_TYPE_DIR 1
|
||||||
#define _COLE_TYPE_FILE 2
|
#define _COLE_TYPE_FILE 2
|
||||||
#define _COLE_TYPE_ROOT 5
|
#define _COLE_TYPE_ROOT 5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* COLE_INTERNAL_H */
|
#endif /* COLE_INTERNAL_H */
|
||||||
|
|
||||||
|
|||||||
2516
cole/olecod.c
2516
cole/olecod.c
File diff suppressed because it is too large
Load Diff
1576
cole/oledecod.c
1576
cole/oledecod.c
File diff suppressed because it is too large
Load Diff
310
cole/support.c
310
cole/support.c
@@ -1,155 +1,155 @@
|
|||||||
/*
|
/*
|
||||||
Support - Provides some big and little endian abstraction functions,
|
Support - Provides some big and little endian abstraction functions,
|
||||||
besides another things.
|
besides another things.
|
||||||
Copyright (C) 1999 Roberto Arturo Tena Sanchez
|
Copyright (C) 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Some code was from Caolan, but I have replaced all the code,
|
Some code was from Caolan, but I have replaced all the code,
|
||||||
now all code here is mine, so I changed copyright announce in cole-1.0.0.
|
now all code here is mine, so I changed copyright announce in cole-1.0.0.
|
||||||
Arturo Tena
|
Arturo Tena
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "support.h"
|
#include "support.h"
|
||||||
|
|
||||||
|
|
||||||
U16
|
U16
|
||||||
fil_sreadU16 (U8 * in)
|
fil_sreadU16 (U8 * in)
|
||||||
{
|
{
|
||||||
return (in[1] << 8) | in[0];
|
return (in[1] << 8) | in[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
U32
|
U32
|
||||||
fil_sreadU32 (U8 * in)
|
fil_sreadU32 (U8 * in)
|
||||||
{
|
{
|
||||||
U32 i0 = in[0], i1 = in[1], i2 = in[2], i3 = in[3];
|
U32 i0 = in[0], i1 = in[1], i2 = in[2], i3 = in[3];
|
||||||
|
|
||||||
return (i3 << 24) | (i2 << 16) | (i1 << 8) | i0;
|
return (i3 << 24) | (i2 << 16) | (i1 << 8) | i0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
F64
|
F64
|
||||||
fil_sreadF64 (U8 * in)
|
fil_sreadF64 (U8 * in)
|
||||||
{
|
{
|
||||||
F64 ret;
|
F64 ret;
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
*( ((U8*)(&ret)) + 7 ) = *in;
|
*( ((U8*)(&ret)) + 7 ) = *in;
|
||||||
*( ((U8*)(&ret)) + 6 ) = *(in+1);
|
*( ((U8*)(&ret)) + 6 ) = *(in+1);
|
||||||
*( ((U8*)(&ret)) + 5 ) = *(in+2);
|
*( ((U8*)(&ret)) + 5 ) = *(in+2);
|
||||||
*( ((U8*)(&ret)) + 4 ) = *(in+3);
|
*( ((U8*)(&ret)) + 4 ) = *(in+3);
|
||||||
*( ((U8*)(&ret)) + 3 ) = *(in+4);
|
*( ((U8*)(&ret)) + 3 ) = *(in+4);
|
||||||
*( ((U8*)(&ret)) + 2 ) = *(in+5);
|
*( ((U8*)(&ret)) + 2 ) = *(in+5);
|
||||||
*( ((U8*)(&ret)) + 1 ) = *(in+6);
|
*( ((U8*)(&ret)) + 1 ) = *(in+6);
|
||||||
*( (U8*)(&ret) ) = *(in+7);
|
*( (U8*)(&ret) ) = *(in+7);
|
||||||
#else /* !WORDS_BIGENDIAN */
|
#else /* !WORDS_BIGENDIAN */
|
||||||
memcpy (&ret, in, 8);
|
memcpy (&ret, in, 8);
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
fil_swriteU16 (U8 * dest, U16 * src)
|
fil_swriteU16 (U8 * dest, U16 * src)
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
*(dest) = *(((U8*)src)+1);
|
*(dest) = *(((U8*)src)+1);
|
||||||
*(dest+1) = *((U8*)src);
|
*(dest+1) = *((U8*)src);
|
||||||
#else /* !WORDS_BIGENDIAN */
|
#else /* !WORDS_BIGENDIAN */
|
||||||
*(dest) = *((U8*)src);
|
*(dest) = *((U8*)src);
|
||||||
*(dest+1) = *(((U8*)src)+1);
|
*(dest+1) = *(((U8*)src)+1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
fil_swriteU32 (U8 * dest, U32 * src)
|
fil_swriteU32 (U8 * dest, U32 * src)
|
||||||
{
|
{
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
fil_swriteU16 (dest, ( U16* )( ((U8*)src)+2 ) );
|
fil_swriteU16 (dest, ( U16* )( ((U8*)src)+2 ) );
|
||||||
fil_swriteU16 (dest+2, (U16*)src);
|
fil_swriteU16 (dest+2, (U16*)src);
|
||||||
#else /* !WORDS_BIGENDIAN */
|
#else /* !WORDS_BIGENDIAN */
|
||||||
fil_swriteU16 (dest, (U16*)src);
|
fil_swriteU16 (dest, (U16*)src);
|
||||||
fil_swriteU16 (dest+2, ( U16* )( ((U8*)src)+2 ) );
|
fil_swriteU16 (dest+2, ( U16* )( ((U8*)src)+2 ) );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*-*
|
/*-*
|
||||||
@func (void) __cole_dump dump the content of memory
|
@func (void) __cole_dump dump the content of memory
|
||||||
@param (void *) m memory position which content will be dumped
|
@param (void *) m memory position which content will be dumped
|
||||||
@param (void *) start memory position from where calculate
|
@param (void *) start memory position from where calculate
|
||||||
offset
|
offset
|
||||||
@param (int) length size in bytes of the dumped memory
|
@param (int) length size in bytes of the dumped memory
|
||||||
@param (char *) msg optional message, can be NULL
|
@param (char *) msg optional message, can be NULL
|
||||||
*-*/
|
*-*/
|
||||||
void
|
void
|
||||||
__cole_dump (void *_m, void *_start, int length, char *msg)
|
__cole_dump (void *_m, void *_start, int length, char *msg)
|
||||||
{
|
{
|
||||||
unsigned char * pm;
|
unsigned char * pm;
|
||||||
char buff[18];
|
char buff[18];
|
||||||
long achar;
|
long achar;
|
||||||
unsigned char * m;
|
unsigned char * m;
|
||||||
unsigned char * start;
|
unsigned char * start;
|
||||||
|
|
||||||
if (_m == NULL) {
|
if (_m == NULL) {
|
||||||
printf ("VERBOSE: can't dump because m is NULL\n");
|
printf ("VERBOSE: can't dump because m is NULL\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (_start == NULL) {
|
if (_start == NULL) {
|
||||||
printf ("VERBOSE: can't dump because start is NULL\n");
|
printf ("VERBOSE: can't dump because start is NULL\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m = (unsigned char *)_m;
|
m = (unsigned char *)_m;
|
||||||
start = (unsigned char *)_start;
|
start = (unsigned char *)_start;
|
||||||
buff[8] = '-';
|
buff[8] = '-';
|
||||||
buff[17] = 0;
|
buff[17] = 0;
|
||||||
if (msg != NULL)
|
if (msg != NULL)
|
||||||
printf ("VERBOSE: %s (from 0x%08tx length 0x%08x (%d)):\n",
|
printf ("VERBOSE: %s (from 0x%08tx length 0x%08x (%d)):\n",
|
||||||
msg, m - start, length, length);
|
msg, m - start, length, length);
|
||||||
for (pm = m; pm - m < length; pm++) {
|
for (pm = m; pm - m < length; pm++) {
|
||||||
achar = (pm - m) % 16;
|
achar = (pm - m) % 16;
|
||||||
/* print offset */
|
/* print offset */
|
||||||
if (achar == 0)
|
if (achar == 0)
|
||||||
printf ("%08tx ", (pm - m) + (m - start));
|
printf ("%08tx ", (pm - m) + (m - start));
|
||||||
/* write char in the right column buffer */
|
/* write char in the right column buffer */
|
||||||
buff[achar + (achar < 8 ? 0 : 1)] = (char)((isprint (*pm) ? *pm : '.'));
|
buff[achar + (achar < 8 ? 0 : 1)] = (char)((isprint (*pm) ? *pm : '.'));
|
||||||
/* print next char */
|
/* print next char */
|
||||||
if (! ((pm - m + 1) % 16))
|
if (! ((pm - m + 1) % 16))
|
||||||
/* print right column */
|
/* print right column */
|
||||||
printf ("%02x %s\n", *pm, buff);
|
printf ("%02x %s\n", *pm, buff);
|
||||||
else if (! ((pm - m + 1) % 8))
|
else if (! ((pm - m + 1) % 8))
|
||||||
printf ("%02x-", *pm);
|
printf ("%02x-", *pm);
|
||||||
else
|
else
|
||||||
printf ("%02x ", *pm);
|
printf ("%02x ", *pm);
|
||||||
}
|
}
|
||||||
achar = (pm - m) % 16;
|
achar = (pm - m) % 16;
|
||||||
if (achar) {
|
if (achar) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < (16 - achar) * 3 - 1; i++)
|
for (i = 0; i < (16 - achar) * 3 - 1; i++)
|
||||||
printf (" ");
|
printf (" ");
|
||||||
if (achar != 8)
|
if (achar != 8)
|
||||||
buff [achar] = 0;
|
buff [achar] = 0;
|
||||||
printf (" %s\n", buff);
|
printf (" %s\n", buff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
520
cole/support.h
520
cole/support.h
@@ -1,260 +1,260 @@
|
|||||||
/*
|
/*
|
||||||
Support - Provides some big and little endian abstraction functions.
|
Support - Provides some big and little endian abstraction functions.
|
||||||
Copyright (C) 1999 Roberto Arturo Tena Sanchez
|
Copyright (C) 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Some code was from Caolan, but I have replaced all the code,
|
Some code was from Caolan, but I have replaced all the code,
|
||||||
now all code here is mine, so I changed copyright announce in cole-1.0.0.
|
now all code here is mine, so I changed copyright announce in cole-1.0.0.
|
||||||
Arturo Tena
|
Arturo Tena
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef COLE_SUPPORT_H
|
#ifndef COLE_SUPPORT_H
|
||||||
#define COLE_SUPPORT_H
|
#define COLE_SUPPORT_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#define SIZEOF_FLOAT 4
|
#define SIZEOF_FLOAT 4
|
||||||
#define SIZEOF_DOUBLE 8
|
#define SIZEOF_DOUBLE 8
|
||||||
#define SIZEOF_UNSIGNED_CHAR 1
|
#define SIZEOF_UNSIGNED_CHAR 1
|
||||||
#define SIZEOF_UNSIGNED_SHORT 2
|
#define SIZEOF_UNSIGNED_SHORT 2
|
||||||
#define SIZEOF_UNSIGNED_LONG 4
|
#define SIZEOF_UNSIGNED_LONG 4
|
||||||
/* compile time checks for good measure */
|
/* compile time checks for good measure */
|
||||||
#define COMPILE_TIME_CHECK(tag,expr) \
|
#define COMPILE_TIME_CHECK(tag,expr) \
|
||||||
typedef char tag##_CHECK[ (expr) ? 1 : -1 ]
|
typedef char tag##_CHECK[ (expr) ? 1 : -1 ]
|
||||||
COMPILE_TIME_CHECK( FLOAT, sizeof(float) == SIZEOF_FLOAT );
|
COMPILE_TIME_CHECK( FLOAT, sizeof(float) == SIZEOF_FLOAT );
|
||||||
COMPILE_TIME_CHECK( DOUBLE, sizeof(double) == SIZEOF_DOUBLE );
|
COMPILE_TIME_CHECK( DOUBLE, sizeof(double) == SIZEOF_DOUBLE );
|
||||||
COMPILE_TIME_CHECK( CHAR, sizeof(char) == SIZEOF_UNSIGNED_CHAR );
|
COMPILE_TIME_CHECK( CHAR, sizeof(char) == SIZEOF_UNSIGNED_CHAR );
|
||||||
COMPILE_TIME_CHECK( SHORT, sizeof(short) == SIZEOF_UNSIGNED_SHORT );
|
COMPILE_TIME_CHECK( SHORT, sizeof(short) == SIZEOF_UNSIGNED_SHORT );
|
||||||
COMPILE_TIME_CHECK( LONG, sizeof(long) == SIZEOF_UNSIGNED_LONG );
|
COMPILE_TIME_CHECK( LONG, sizeof(long) == SIZEOF_UNSIGNED_LONG );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* F32 */
|
/* F32 */
|
||||||
#if SIZEOF_FLOAT == 4
|
#if SIZEOF_FLOAT == 4
|
||||||
#define F32 float
|
#define F32 float
|
||||||
#elif SIZEOF_DOUBLE == 4
|
#elif SIZEOF_DOUBLE == 4
|
||||||
#define F32 double
|
#define F32 double
|
||||||
#elif SIZEOF_LONG_DOUBLE == 4
|
#elif SIZEOF_LONG_DOUBLE == 4
|
||||||
#define F32 long double
|
#define F32 long double
|
||||||
#else
|
#else
|
||||||
#error No 4 byte length float type found.
|
#error No 4 byte length float type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* F64 */
|
/* F64 */
|
||||||
#if SIZEOF_DOUBLE == 8
|
#if SIZEOF_DOUBLE == 8
|
||||||
#define F64 double
|
#define F64 double
|
||||||
#elif SIZEOF_LONG_DOUBLE == 8
|
#elif SIZEOF_LONG_DOUBLE == 8
|
||||||
#define F64 long double
|
#define F64 long double
|
||||||
#else
|
#else
|
||||||
#error No 8 byte length float type found.
|
#error No 8 byte length float type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* U8 */
|
/* U8 */
|
||||||
#if SIZEOF_UNSIGNED_CHAR == 1
|
#if SIZEOF_UNSIGNED_CHAR == 1
|
||||||
#define U8 unsigned char
|
#define U8 unsigned char
|
||||||
#else
|
#else
|
||||||
#error No 1 byte length type found.
|
#error No 1 byte length type found.
|
||||||
#error Char is not a byte! Mmmh... maybe you need another compiler.
|
#error Char is not a byte! Mmmh... maybe you need another compiler.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* U16 */
|
/* U16 */
|
||||||
#if SIZEOF_UNSIGNED_INT == 2
|
#if SIZEOF_UNSIGNED_INT == 2
|
||||||
#define U16 unsigned int
|
#define U16 unsigned int
|
||||||
#elif SIZEOF_UNSIGNED_SHORT == 2
|
#elif SIZEOF_UNSIGNED_SHORT == 2
|
||||||
#define U16 unsigned short
|
#define U16 unsigned short
|
||||||
#elif SIZEOF_UNSIGNED_LONG == 2
|
#elif SIZEOF_UNSIGNED_LONG == 2
|
||||||
#define U16 unsigned long
|
#define U16 unsigned long
|
||||||
#else
|
#else
|
||||||
#error No 2 byte length type found.
|
#error No 2 byte length type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* S16 */
|
/* S16 */
|
||||||
#if SIZEOF_UNSIGNED_INT == 2
|
#if SIZEOF_UNSIGNED_INT == 2
|
||||||
#define S16 signed int
|
#define S16 signed int
|
||||||
#elif SIZEOF_UNSIGNED_SHORT == 2
|
#elif SIZEOF_UNSIGNED_SHORT == 2
|
||||||
#define S16 signed short
|
#define S16 signed short
|
||||||
#elif SIZEOF_UNSIGNED_LONG == 2
|
#elif SIZEOF_UNSIGNED_LONG == 2
|
||||||
#define S16 signed long
|
#define S16 signed long
|
||||||
#else
|
#else
|
||||||
#error No 2 byte length type found.
|
#error No 2 byte length type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* U32 */
|
/* U32 */
|
||||||
#if SIZEOF_UNSIGNED_LONG == 4
|
#if SIZEOF_UNSIGNED_LONG == 4
|
||||||
#define U32 unsigned long
|
#define U32 unsigned long
|
||||||
#elif SIZEOF_UNSIGNED_INT == 4
|
#elif SIZEOF_UNSIGNED_INT == 4
|
||||||
#define U32 unsigned int
|
#define U32 unsigned int
|
||||||
#elif SIZEOF_UNSIGNED_LONG_LONG == 4
|
#elif SIZEOF_UNSIGNED_LONG_LONG == 4
|
||||||
#define U32 unsigned long long
|
#define U32 unsigned long long
|
||||||
#else
|
#else
|
||||||
#error No 4 byte length type found.
|
#error No 4 byte length type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* S32 */
|
/* S32 */
|
||||||
#if SIZEOF_UNSIGNED_LONG == 4
|
#if SIZEOF_UNSIGNED_LONG == 4
|
||||||
#define S32 signed long
|
#define S32 signed long
|
||||||
#elif SIZEOF_UNSIGNED_INT == 4
|
#elif SIZEOF_UNSIGNED_INT == 4
|
||||||
#define S32 signed int
|
#define S32 signed int
|
||||||
#elif SIZEOF_UNSIGNED_LONG_LONG == 4
|
#elif SIZEOF_UNSIGNED_LONG_LONG == 4
|
||||||
#define S32 signed long long
|
#define S32 signed long long
|
||||||
#else
|
#else
|
||||||
#error No 4 byte length type found.
|
#error No 4 byte length type found.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
U16 fil_sreadU16 (U8 * in);
|
U16 fil_sreadU16 (U8 * in);
|
||||||
U32 fil_sreadU32 (U8 * in);
|
U32 fil_sreadU32 (U8 * in);
|
||||||
F64 fil_sreadF64 (U8 * in);
|
F64 fil_sreadF64 (U8 * in);
|
||||||
|
|
||||||
void fil_swriteU16 (U8 * dest, U16 * src);
|
void fil_swriteU16 (U8 * dest, U16 * src);
|
||||||
void fil_swriteU32 (U8 * dest, U32 * src);
|
void fil_swriteU32 (U8 * dest, U32 * src);
|
||||||
|
|
||||||
void __cole_dump (void *_m, void *_start, int length, char *msg);
|
void __cole_dump (void *_m, void *_start, int length, char *msg);
|
||||||
|
|
||||||
#define verbose_return() \
|
#define verbose_return() \
|
||||||
{ \
|
{ \
|
||||||
verbose_wonl ("returning from "); \
|
verbose_wonl ("returning from "); \
|
||||||
verbose_wonl (__FILE__); \
|
verbose_wonl (__FILE__); \
|
||||||
verbose_wonl (":"); \
|
verbose_wonl (":"); \
|
||||||
verbose_d (__LINE__); \
|
verbose_d (__LINE__); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define test(t,retval) \
|
#define test(t,retval) \
|
||||||
{ \
|
{ \
|
||||||
if (!(t)) \
|
if (!(t)) \
|
||||||
{ \
|
{ \
|
||||||
verbose_return (); \
|
verbose_return (); \
|
||||||
return retval; \
|
return retval; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#define test_exitf(t,retval,func) \
|
#define test_exitf(t,retval,func) \
|
||||||
{ \
|
{ \
|
||||||
if (!(t)) \
|
if (!(t)) \
|
||||||
{ \
|
{ \
|
||||||
func; \
|
func; \
|
||||||
verbose_return (); \
|
verbose_return (); \
|
||||||
return (retval); \
|
return (retval); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#define test_call(t,typeretval) \
|
#define test_call(t,typeretval) \
|
||||||
{ \
|
{ \
|
||||||
typeretval retval; \
|
typeretval retval; \
|
||||||
retval = (t); \
|
retval = (t); \
|
||||||
if (retval) \
|
if (retval) \
|
||||||
{ \
|
{ \
|
||||||
verbose_return () \
|
verbose_return () \
|
||||||
return (retval); \
|
return (retval); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#define test_call_exitf(t,typeretval,func) \
|
#define test_call_exitf(t,typeretval,func) \
|
||||||
{ \
|
{ \
|
||||||
typeretval retval; \
|
typeretval retval; \
|
||||||
retval = (t); \
|
retval = (t); \
|
||||||
if (retval) \
|
if (retval) \
|
||||||
{ \
|
{ \
|
||||||
func; \
|
func; \
|
||||||
verbose_return () \
|
verbose_return () \
|
||||||
return (retval); \
|
return (retval); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
#define report_bug(prog) \
|
#define report_bug(prog) \
|
||||||
{ \
|
{ \
|
||||||
fprintf (stderr, #prog": A bug have been found: %s:%d\n"#prog \
|
fprintf (stderr, #prog": A bug have been found: %s:%d\n"#prog \
|
||||||
":Please, download a most recent version and try again\n", \
|
":Please, download a most recent version and try again\n", \
|
||||||
__FILE__, __LINE__); \
|
__FILE__, __LINE__); \
|
||||||
}
|
}
|
||||||
#define assert_return(prog,t,retval) \
|
#define assert_return(prog,t,retval) \
|
||||||
{ \
|
{ \
|
||||||
if (!(t)) \
|
if (!(t)) \
|
||||||
{ \
|
{ \
|
||||||
fprintf (stderr, #prog": Condition "#t" is not valid: %s:%d\n", \
|
fprintf (stderr, #prog": Condition "#t" is not valid: %s:%d\n", \
|
||||||
__FILE__, __LINE__); \
|
__FILE__, __LINE__); \
|
||||||
report_bug (prog); \
|
report_bug (prog); \
|
||||||
return (retval); \
|
return (retval); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
|
|
||||||
#define verbose_d(n) { printf ("%d\n", n); }
|
#define verbose_d(n) { printf ("%d\n", n); }
|
||||||
#define verbose(s) { puts(s); }
|
#define verbose(s) { puts(s); }
|
||||||
#define verbose_wonl(s) { printf (s); }
|
#define verbose_wonl(s) { printf (s); }
|
||||||
#define verboseU8(expr) { printf (#expr " = 0x%02x\n", expr); }
|
#define verboseU8(expr) { printf (#expr " = 0x%02x\n", expr); }
|
||||||
#define verboseU16(expr) { printf (#expr " = 0x%04x\n", expr); }
|
#define verboseU16(expr) { printf (#expr " = 0x%04x\n", expr); }
|
||||||
#define verboseU32(expr) { printf (#expr " = 0x%08x\n", expr); }
|
#define verboseU32(expr) { printf (#expr " = 0x%08x\n", expr); }
|
||||||
#define verboseS(expr) { printf (#expr " = %s\n", expr); }
|
#define verboseS(expr) { printf (#expr " = %s\n", expr); }
|
||||||
#define verboseS_wonl(expr) { printf (#expr " = %s", expr); }
|
#define verboseS_wonl(expr) { printf (#expr " = %s", expr); }
|
||||||
#define warning(t) { if (!(t)) printf ("warning: %s is false\n", #t); }
|
#define warning(t) { if (!(t)) printf ("warning: %s is false\n", #t); }
|
||||||
|
|
||||||
#else /* ifndef VERBOSE */
|
#else /* ifndef VERBOSE */
|
||||||
|
|
||||||
#define verbose_d(n) ;
|
#define verbose_d(n) ;
|
||||||
#define verbose(s) ;
|
#define verbose(s) ;
|
||||||
#define verbose_wonl(s) ;
|
#define verbose_wonl(s) ;
|
||||||
#define verboseU8(expr) ;
|
#define verboseU8(expr) ;
|
||||||
#define verboseU16(expr) ;
|
#define verboseU16(expr) ;
|
||||||
#define verboseU32(expr) ;
|
#define verboseU32(expr) ;
|
||||||
#define verboseS(expr)
|
#define verboseS(expr)
|
||||||
#define verboseS_wonl(expr)
|
#define verboseS_wonl(expr)
|
||||||
#define warning(t)
|
#define warning(t)
|
||||||
|
|
||||||
#endif /* ifdef VERBOSE */
|
#endif /* ifdef VERBOSE */
|
||||||
|
|
||||||
|
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
#define verboseU32Array(array,len) \
|
#define verboseU32Array(array,len) \
|
||||||
{ \
|
{ \
|
||||||
U32 temp; \
|
U32 temp; \
|
||||||
for (temp = 0; temp < len; temp++) \
|
for (temp = 0; temp < len; temp++) \
|
||||||
printf (#array "[%lu] = 0x%08lx\n", temp, array [temp]); \
|
printf (#array "[%lu] = 0x%08lx\n", temp, array [temp]); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define verboseU32Array(array,len)
|
#define verboseU32Array(array,len)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define verboseU8Array_force(rec,len,reclen) \
|
#define verboseU8Array_force(rec,len,reclen) \
|
||||||
__cole_dump ((rec), (rec), ((len)*(reclen)), "");
|
__cole_dump ((rec), (rec), ((len)*(reclen)), "");
|
||||||
|
|
||||||
|
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
#define verboseU8Array(rec,len,reclen) verboseU8Array_force(rec,len,reclen)
|
#define verboseU8Array(rec,len,reclen) verboseU8Array_force(rec,len,reclen)
|
||||||
#else
|
#else
|
||||||
#define verboseU8Array(rec,len,reclen)
|
#define verboseU8Array(rec,len,reclen)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* COLE_SUPPORT_H */
|
#endif /* COLE_SUPPORT_H */
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
LDADD = $(top_builddir)/libcole.la
|
LDADD = $(top_builddir)/libcole.la
|
||||||
|
|
||||||
noinst_PROGRAMS = cole_tree cole_isfs cole_isfs_fast cole_extract
|
noinst_PROGRAMS = cole_tree cole_isfs cole_isfs_fast cole_extract
|
||||||
|
|
||||||
|
|||||||
@@ -1,328 +1,328 @@
|
|||||||
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
||||||
|
|
||||||
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
||||||
# This Makefile.in is free software; the Free Software Foundation
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir = @bindir@
|
bindir = @bindir@
|
||||||
sbindir = @sbindir@
|
sbindir = @sbindir@
|
||||||
libexecdir = @libexecdir@
|
libexecdir = @libexecdir@
|
||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
sysconfdir = @sysconfdir@
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir = @sharedstatedir@
|
sharedstatedir = @sharedstatedir@
|
||||||
localstatedir = @localstatedir@
|
localstatedir = @localstatedir@
|
||||||
libdir = @libdir@
|
libdir = @libdir@
|
||||||
infodir = @infodir@
|
infodir = @infodir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
oldincludedir = /usr/include
|
oldincludedir = /usr/include
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
|
||||||
ACLOCAL = @ACLOCAL@
|
ACLOCAL = @ACLOCAL@
|
||||||
AUTOCONF = @AUTOCONF@
|
AUTOCONF = @AUTOCONF@
|
||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
|
|
||||||
NORMAL_INSTALL = :
|
NORMAL_INSTALL = :
|
||||||
PRE_INSTALL = :
|
PRE_INSTALL = :
|
||||||
POST_INSTALL = :
|
POST_INSTALL = :
|
||||||
NORMAL_UNINSTALL = :
|
NORMAL_UNINSTALL = :
|
||||||
PRE_UNINSTALL = :
|
PRE_UNINSTALL = :
|
||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
AS = @AS@
|
AS = @AS@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
COLE_MAJOR = @COLE_MAJOR@
|
COLE_MAJOR = @COLE_MAJOR@
|
||||||
COLE_MICRO = @COLE_MICRO@
|
COLE_MICRO = @COLE_MICRO@
|
||||||
COLE_MINOR = @COLE_MINOR@
|
COLE_MINOR = @COLE_MINOR@
|
||||||
DLLTOOL = @DLLTOOL@
|
DLLTOOL = @DLLTOOL@
|
||||||
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
HOST_ALIAS_NAME = @HOST_ALIAS_NAME@
|
||||||
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
HOST_CANONICAL_NAME = @HOST_CANONICAL_NAME@
|
||||||
HOST_CPU = @HOST_CPU@
|
HOST_CPU = @HOST_CPU@
|
||||||
HOST_OS = @HOST_OS@
|
HOST_OS = @HOST_OS@
|
||||||
HOST_VENDOR = @HOST_VENDOR@
|
HOST_VENDOR = @HOST_VENDOR@
|
||||||
LD = @LD@
|
LD = @LD@
|
||||||
LIBTOOL = @LIBTOOL@
|
LIBTOOL = @LIBTOOL@
|
||||||
LN_S = @LN_S@
|
LN_S = @LN_S@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
VERSION_INFO = @VERSION_INFO@
|
VERSION_INFO = @VERSION_INFO@
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)
|
INCLUDES = -I$(top_srcdir)
|
||||||
LDADD = $(top_builddir)/libcole.la
|
LDADD = $(top_builddir)/libcole.la
|
||||||
|
|
||||||
noinst_PROGRAMS = cole_tree cole_isfs cole_isfs_fast cole_extract
|
noinst_PROGRAMS = cole_tree cole_isfs cole_isfs_fast cole_extract
|
||||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
CONFIG_HEADER = ../config.h
|
CONFIG_HEADER = ../config.h
|
||||||
CONFIG_CLEAN_FILES =
|
CONFIG_CLEAN_FILES =
|
||||||
PROGRAMS = $(noinst_PROGRAMS)
|
PROGRAMS = $(noinst_PROGRAMS)
|
||||||
|
|
||||||
|
|
||||||
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
||||||
CPPFLAGS = @CPPFLAGS@
|
CPPFLAGS = @CPPFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
cole_tree_SOURCES = cole_tree.c
|
cole_tree_SOURCES = cole_tree.c
|
||||||
cole_tree_OBJECTS = cole_tree.o
|
cole_tree_OBJECTS = cole_tree.o
|
||||||
cole_tree_LDADD = $(LDADD)
|
cole_tree_LDADD = $(LDADD)
|
||||||
cole_tree_DEPENDENCIES = $(top_builddir)/libcole.la
|
cole_tree_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
cole_tree_LDFLAGS =
|
cole_tree_LDFLAGS =
|
||||||
cole_isfs_SOURCES = cole_isfs.c
|
cole_isfs_SOURCES = cole_isfs.c
|
||||||
cole_isfs_OBJECTS = cole_isfs.o
|
cole_isfs_OBJECTS = cole_isfs.o
|
||||||
cole_isfs_LDADD = $(LDADD)
|
cole_isfs_LDADD = $(LDADD)
|
||||||
cole_isfs_DEPENDENCIES = $(top_builddir)/libcole.la
|
cole_isfs_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
cole_isfs_LDFLAGS =
|
cole_isfs_LDFLAGS =
|
||||||
cole_isfs_fast_SOURCES = cole_isfs_fast.c
|
cole_isfs_fast_SOURCES = cole_isfs_fast.c
|
||||||
cole_isfs_fast_OBJECTS = cole_isfs_fast.o
|
cole_isfs_fast_OBJECTS = cole_isfs_fast.o
|
||||||
cole_isfs_fast_LDADD = $(LDADD)
|
cole_isfs_fast_LDADD = $(LDADD)
|
||||||
cole_isfs_fast_DEPENDENCIES = $(top_builddir)/libcole.la
|
cole_isfs_fast_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
cole_isfs_fast_LDFLAGS =
|
cole_isfs_fast_LDFLAGS =
|
||||||
cole_extract_SOURCES = cole_extract.c
|
cole_extract_SOURCES = cole_extract.c
|
||||||
cole_extract_OBJECTS = cole_extract.o
|
cole_extract_OBJECTS = cole_extract.o
|
||||||
cole_extract_LDADD = $(LDADD)
|
cole_extract_LDADD = $(LDADD)
|
||||||
cole_extract_DEPENDENCIES = $(top_builddir)/libcole.la
|
cole_extract_DEPENDENCIES = $(top_builddir)/libcole.la
|
||||||
cole_extract_LDFLAGS =
|
cole_extract_LDFLAGS =
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
CCLD = $(CC)
|
CCLD = $(CC)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||||
DIST_COMMON = Makefile.am Makefile.in
|
DIST_COMMON = Makefile.am Makefile.in
|
||||||
|
|
||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = gtar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = cole_tree.c cole_isfs.c cole_isfs_fast.c cole_extract.c
|
SOURCES = cole_tree.c cole_isfs.c cole_isfs_fast.c cole_extract.c
|
||||||
OBJECTS = cole_tree.o cole_isfs.o cole_isfs_fast.o cole_extract.o
|
OBJECTS = cole_tree.o cole_isfs.o cole_isfs_fast.o cole_extract.o
|
||||||
|
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .S .c .lo .o .s
|
.SUFFIXES: .S .c .lo .o .s
|
||||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps utils/Makefile
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps utils/Makefile
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) \
|
||||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-noinstPROGRAMS:
|
mostlyclean-noinstPROGRAMS:
|
||||||
|
|
||||||
clean-noinstPROGRAMS:
|
clean-noinstPROGRAMS:
|
||||||
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
||||||
|
|
||||||
distclean-noinstPROGRAMS:
|
distclean-noinstPROGRAMS:
|
||||||
|
|
||||||
maintainer-clean-noinstPROGRAMS:
|
maintainer-clean-noinstPROGRAMS:
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.s.o:
|
.s.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
.S.o:
|
.S.o:
|
||||||
$(COMPILE) -c $<
|
$(COMPILE) -c $<
|
||||||
|
|
||||||
mostlyclean-compile:
|
mostlyclean-compile:
|
||||||
-rm -f *.o core *.core
|
-rm -f *.o core *.core
|
||||||
|
|
||||||
clean-compile:
|
clean-compile:
|
||||||
|
|
||||||
distclean-compile:
|
distclean-compile:
|
||||||
-rm -f *.tab.c
|
-rm -f *.tab.c
|
||||||
|
|
||||||
maintainer-clean-compile:
|
maintainer-clean-compile:
|
||||||
|
|
||||||
.c.lo:
|
.c.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
.s.lo:
|
.s.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
.S.lo:
|
.S.lo:
|
||||||
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
|
||||||
clean-libtool:
|
clean-libtool:
|
||||||
-rm -rf .libs _libs
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
distclean-libtool:
|
distclean-libtool:
|
||||||
|
|
||||||
maintainer-clean-libtool:
|
maintainer-clean-libtool:
|
||||||
|
|
||||||
cole_tree: $(cole_tree_OBJECTS) $(cole_tree_DEPENDENCIES)
|
cole_tree: $(cole_tree_OBJECTS) $(cole_tree_DEPENDENCIES)
|
||||||
@rm -f cole_tree
|
@rm -f cole_tree
|
||||||
$(LINK) $(cole_tree_LDFLAGS) $(cole_tree_OBJECTS) $(cole_tree_LDADD) $(LIBS)
|
$(LINK) $(cole_tree_LDFLAGS) $(cole_tree_OBJECTS) $(cole_tree_LDADD) $(LIBS)
|
||||||
|
|
||||||
cole_isfs: $(cole_isfs_OBJECTS) $(cole_isfs_DEPENDENCIES)
|
cole_isfs: $(cole_isfs_OBJECTS) $(cole_isfs_DEPENDENCIES)
|
||||||
@rm -f cole_isfs
|
@rm -f cole_isfs
|
||||||
$(LINK) $(cole_isfs_LDFLAGS) $(cole_isfs_OBJECTS) $(cole_isfs_LDADD) $(LIBS)
|
$(LINK) $(cole_isfs_LDFLAGS) $(cole_isfs_OBJECTS) $(cole_isfs_LDADD) $(LIBS)
|
||||||
|
|
||||||
cole_isfs_fast: $(cole_isfs_fast_OBJECTS) $(cole_isfs_fast_DEPENDENCIES)
|
cole_isfs_fast: $(cole_isfs_fast_OBJECTS) $(cole_isfs_fast_DEPENDENCIES)
|
||||||
@rm -f cole_isfs_fast
|
@rm -f cole_isfs_fast
|
||||||
$(LINK) $(cole_isfs_fast_LDFLAGS) $(cole_isfs_fast_OBJECTS) $(cole_isfs_fast_LDADD) $(LIBS)
|
$(LINK) $(cole_isfs_fast_LDFLAGS) $(cole_isfs_fast_OBJECTS) $(cole_isfs_fast_LDADD) $(LIBS)
|
||||||
|
|
||||||
cole_extract: $(cole_extract_OBJECTS) $(cole_extract_DEPENDENCIES)
|
cole_extract: $(cole_extract_OBJECTS) $(cole_extract_DEPENDENCIES)
|
||||||
@rm -f cole_extract
|
@rm -f cole_extract
|
||||||
$(LINK) $(cole_extract_LDFLAGS) $(cole_extract_OBJECTS) $(cole_extract_LDADD) $(LIBS)
|
$(LINK) $(cole_extract_LDFLAGS) $(cole_extract_OBJECTS) $(cole_extract_LDADD) $(LIBS)
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES) $(LISP)
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
here=`pwd` && cd $(srcdir) \
|
here=`pwd` && cd $(srcdir) \
|
||||||
&& mkid -f$$here/ID $$unique $(LISP)
|
&& mkid -f$$here/ID $$unique $(LISP)
|
||||||
|
|
||||||
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
||||||
tags=; \
|
tags=; \
|
||||||
here=`pwd`; \
|
here=`pwd`; \
|
||||||
list='$(SOURCES) $(HEADERS)'; \
|
list='$(SOURCES) $(HEADERS)'; \
|
||||||
unique=`for i in $$list; do echo $$i; done | \
|
unique=`for i in $$list; do echo $$i; done | \
|
||||||
awk ' { files[$$0] = 1; } \
|
awk ' { files[$$0] = 1; } \
|
||||||
END { for (i in files) print i; }'`; \
|
END { for (i in files) print i; }'`; \
|
||||||
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
||||||
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
||||||
|
|
||||||
mostlyclean-tags:
|
mostlyclean-tags:
|
||||||
|
|
||||||
clean-tags:
|
clean-tags:
|
||||||
|
|
||||||
distclean-tags:
|
distclean-tags:
|
||||||
-rm -f TAGS ID
|
-rm -f TAGS ID
|
||||||
|
|
||||||
maintainer-clean-tags:
|
maintainer-clean-tags:
|
||||||
|
|
||||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||||
|
|
||||||
subdir = utils
|
subdir = utils
|
||||||
|
|
||||||
distdir: $(DISTFILES)
|
distdir: $(DISTFILES)
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
if test -d $$d/$$file; then \
|
if test -d $$d/$$file; then \
|
||||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||||
else \
|
else \
|
||||||
test -f $(distdir)/$$file \
|
test -f $(distdir)/$$file \
|
||||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
info-am:
|
info-am:
|
||||||
info: info-am
|
info: info-am
|
||||||
dvi-am:
|
dvi-am:
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-am
|
check: check-am
|
||||||
installcheck-am:
|
installcheck-am:
|
||||||
installcheck: installcheck-am
|
installcheck: installcheck-am
|
||||||
install-exec-am:
|
install-exec-am:
|
||||||
install-exec: install-exec-am
|
install-exec: install-exec-am
|
||||||
|
|
||||||
install-data-am:
|
install-data-am:
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
|
||||||
install-am: all-am
|
install-am: all-am
|
||||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
install: install-am
|
install: install-am
|
||||||
uninstall-am:
|
uninstall-am:
|
||||||
uninstall: uninstall-am
|
uninstall: uninstall-am
|
||||||
all-am: Makefile $(PROGRAMS)
|
all-am: Makefile $(PROGRAMS)
|
||||||
all-redirect: all-am
|
all-redirect: all-am
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
||||||
installdirs:
|
installdirs:
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
|
||||||
clean-generic:
|
clean-generic:
|
||||||
|
|
||||||
distclean-generic:
|
distclean-generic:
|
||||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||||
|
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
mostlyclean-am: mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
||||||
mostlyclean-libtool mostlyclean-tags \
|
mostlyclean-libtool mostlyclean-tags \
|
||||||
mostlyclean-generic
|
mostlyclean-generic
|
||||||
|
|
||||||
mostlyclean: mostlyclean-am
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
|
clean-am: clean-noinstPROGRAMS clean-compile clean-libtool clean-tags \
|
||||||
clean-generic mostlyclean-am
|
clean-generic mostlyclean-am
|
||||||
|
|
||||||
clean: clean-am
|
clean: clean-am
|
||||||
|
|
||||||
distclean-am: distclean-noinstPROGRAMS distclean-compile \
|
distclean-am: distclean-noinstPROGRAMS distclean-compile \
|
||||||
distclean-libtool distclean-tags distclean-generic \
|
distclean-libtool distclean-tags distclean-generic \
|
||||||
clean-am
|
clean-am
|
||||||
-rm -f libtool
|
-rm -f libtool
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
|
|
||||||
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
maintainer-clean-am: maintainer-clean-noinstPROGRAMS \
|
||||||
maintainer-clean-compile maintainer-clean-libtool \
|
maintainer-clean-compile maintainer-clean-libtool \
|
||||||
maintainer-clean-tags maintainer-clean-generic \
|
maintainer-clean-tags maintainer-clean-generic \
|
||||||
distclean-am
|
distclean-am
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
|
||||||
maintainer-clean: maintainer-clean-am
|
maintainer-clean: maintainer-clean-am
|
||||||
|
|
||||||
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
.PHONY: mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
||||||
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
||||||
mostlyclean-compile distclean-compile clean-compile \
|
mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
||||||
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
|
||||||
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
||||||
install-exec install-data-am install-data install-am install \
|
install-exec install-data-am install-data install-am install \
|
||||||
uninstall-am uninstall all-redirect all-am all installdirs \
|
uninstall-am uninstall all-redirect all-am all installdirs \
|
||||||
mostlyclean-generic distclean-generic clean-generic \
|
mostlyclean-generic distclean-generic clean-generic \
|
||||||
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|||||||
@@ -1,95 +1,95 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole_extract - Extract a file from a filesystem.
|
cole_extract - Extract a file from a filesystem.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* To compile this file outside cole source tree,
|
/* To compile this file outside cole source tree,
|
||||||
you must include here <cole/cole.h> instead <cole.h> */
|
you must include here <cole/cole.h> instead <cole.h> */
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "cole_extract"
|
#define PRGNAME "cole_extract"
|
||||||
#define BUFFER_SIZE 128
|
#define BUFFER_SIZE 128
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS *cfs;
|
COLEFS *cfs;
|
||||||
COLEFILE *cf;
|
COLEFILE *cf;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
char buffer[BUFFER_SIZE];
|
char buffer[BUFFER_SIZE];
|
||||||
size_t char_read;
|
size_t char_read;
|
||||||
|
|
||||||
|
|
||||||
if (argc != 3) {
|
if (argc != 3) {
|
||||||
fprintf (stderr, "cole_extract. Extract a file from a "
|
fprintf (stderr, "cole_extract. Extract a file from a "
|
||||||
"filesystem to the standard output.\n"
|
"filesystem to the standard output.\n"
|
||||||
"Usage: "PRGNAME" <FILE> <INFILE>\n"
|
"Usage: "PRGNAME" <FILE> <INFILE>\n"
|
||||||
" FILE - File with the filesystem.\n"
|
" FILE - File with the filesystem.\n"
|
||||||
" INFILE - Filename of the file to extract.\n");
|
" INFILE - Filename of the file to extract.\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (argv[1], &colerrno);
|
cfs = cole_mount (argv[1], &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
cf = cole_fopen (cfs, argv[2], &colerrno);
|
cf = cole_fopen (cfs, argv[2], &colerrno);
|
||||||
if (cf == NULL) {
|
if (cf == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno))) {
|
while ((char_read = cole_fread (cf, buffer, BUFFER_SIZE, &colerrno))) {
|
||||||
if (fwrite (buffer, 1, char_read, stdout) != char_read) {
|
if (fwrite (buffer, 1, char_read, stdout) != char_read) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!cole_feof (cf)) {
|
if (!cole_feof (cf)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (cole_fclose (cf, &colerrno)) {
|
if (cole_fclose (cf, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,75 +1,75 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole_isfs - Guess if a file is a valid filesystem.
|
cole_isfs - Guess if a file is a valid filesystem.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* To compile this file outside cole source tree,
|
/* To compile this file outside cole source tree,
|
||||||
you must include here <cole/cole.h> instead <cole.h> */
|
you must include here <cole/cole.h> instead <cole.h> */
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "cole_isfs"
|
#define PRGNAME "cole_isfs"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
|
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
fprintf (stderr, PRGNAME". Prints `yes' if the file is a "
|
fprintf (stderr, PRGNAME". Prints `yes' if the file is a "
|
||||||
"valid filesystem, otherwise it prints `no'.\n"
|
"valid filesystem, otherwise it prints `no'.\n"
|
||||||
"Usage: "PRGNAME" <FILE>\n");
|
"Usage: "PRGNAME" <FILE>\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (argv[1], &colerrno);
|
cfs = cole_mount (argv[1], &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
switch (colerrno) {
|
switch (colerrno) {
|
||||||
case COLE_ENOFILESYSTEM:
|
case COLE_ENOFILESYSTEM:
|
||||||
case COLE_EINVALIDFILESYSTEM:
|
case COLE_EINVALIDFILESYSTEM:
|
||||||
printf ("no\n");
|
printf ("no\n");
|
||||||
break;
|
break;
|
||||||
case COLE_EMEMORY:
|
case COLE_EMEMORY:
|
||||||
case COLE_EOPENFILE:
|
case COLE_EOPENFILE:
|
||||||
case COLE_EUNKNOWN:
|
case COLE_EUNKNOWN:
|
||||||
default:
|
default:
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf ("yes\n");
|
printf ("yes\n");
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,77 +1,77 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole_isfs_fast - Fast guess if a file is a valid filesystem.
|
cole_isfs_fast - Fast guess if a file is a valid filesystem.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* To compile this file outside cole source tree,
|
/* To compile this file outside cole source tree,
|
||||||
you must include here <cole/cole.h> instead <cole.h> */
|
you must include here <cole/cole.h> instead <cole.h> */
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "cole_isfs_fast"
|
#define PRGNAME "cole_isfs_fast"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
FILE *file;
|
FILE *file;
|
||||||
unsigned char sign[8];
|
unsigned char sign[8];
|
||||||
|
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
fprintf (stderr, PRGNAME". Prints `yes' if the file is a "
|
fprintf (stderr, PRGNAME". Prints `yes' if the file is a "
|
||||||
"valid filesystem, otherwise it prints `no'. "
|
"valid filesystem, otherwise it prints `no'. "
|
||||||
"The test is not much accurate.\n"
|
"The test is not much accurate.\n"
|
||||||
"Usage: "PRGNAME" <FILE>\n");
|
"Usage: "PRGNAME" <FILE>\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
file = fopen (argv[1], "rb");
|
file = fopen (argv[1], "rb");
|
||||||
if (file == NULL) {
|
if (file == NULL) {
|
||||||
perror (PRGNAME);
|
perror (PRGNAME);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fread (sign, 1, 8, file);
|
fread (sign, 1, 8, file);
|
||||||
if ( sign[0] != 0xd0
|
if ( sign[0] != 0xd0
|
||||||
|| sign[1] != 0xcf
|
|| sign[1] != 0xcf
|
||||||
|| sign[2] != 0x11
|
|| sign[2] != 0x11
|
||||||
|| sign[3] != 0xe0
|
|| sign[3] != 0xe0
|
||||||
|| sign[4] != 0xa1
|
|| sign[4] != 0xa1
|
||||||
|| sign[5] != 0xb1
|
|| sign[5] != 0xb1
|
||||||
|| sign[6] != 0x1a
|
|| sign[6] != 0x1a
|
||||||
|| sign[7] != 0xe1) {
|
|| sign[7] != 0xe1) {
|
||||||
printf ("no\n");
|
printf ("no\n");
|
||||||
fclose (file);
|
fclose (file);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose (file);
|
fclose (file);
|
||||||
|
|
||||||
printf ("yes\n");
|
printf ("yes\n");
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,68 +1,68 @@
|
|||||||
/*
|
/*
|
||||||
cole - A free C OLE library.
|
cole - A free C OLE library.
|
||||||
cole_tree - Prints the tree of a filesystem.
|
cole_tree - Prints the tree of a filesystem.
|
||||||
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
Copyright 1998, 1999 Roberto Arturo Tena Sanchez
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
Arturo Tena <arturo@directmail.org>
|
Arturo Tena <arturo@directmail.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* To compile this file outside cole source tree,
|
/* To compile this file outside cole source tree,
|
||||||
you must include here <cole/cole.h> instead <cole.h> */
|
you must include here <cole/cole.h> instead <cole.h> */
|
||||||
#include <cole.h>
|
#include <cole.h>
|
||||||
|
|
||||||
|
|
||||||
#define PRGNAME "cole_tree"
|
#define PRGNAME "cole_tree"
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc, char **argv)
|
main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
COLEFS * cfs;
|
COLEFS * cfs;
|
||||||
COLERRNO colerrno;
|
COLERRNO colerrno;
|
||||||
|
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
fprintf (stderr, "cole_tree. Prints the tree of a filesystem.\n"
|
fprintf (stderr, "cole_tree. Prints the tree of a filesystem.\n"
|
||||||
"Usage: "PRGNAME" <FILE>\n");
|
"Usage: "PRGNAME" <FILE>\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
cfs = cole_mount (argv[1], &colerrno);
|
cfs = cole_mount (argv[1], &colerrno);
|
||||||
if (cfs == NULL) {
|
if (cfs == NULL) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_print_tree (cfs, &colerrno)) {
|
if (cole_print_tree (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
cole_umount (cfs, NULL);
|
cole_umount (cfs, NULL);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cole_umount (cfs, &colerrno)) {
|
if (cole_umount (cfs, &colerrno)) {
|
||||||
cole_perror (PRGNAME, colerrno);
|
cole_perror (PRGNAME, colerrno);
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
int cole_major_version = 2;
|
int cole_major_version = 2;
|
||||||
int cole_minor_version = 0;
|
int cole_minor_version = 0;
|
||||||
int cole_micro_version = 2;
|
int cole_micro_version = 2;
|
||||||
char * cole_version = "2.0.2";
|
char * cole_version = "2.0.2";
|
||||||
char * cole_host_info = "x86_64-unknown-linux-gnu (): , , ";
|
char * cole_host_info = "x86_64-unknown-linux-gnu (): , , ";
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
int cole_major_version = @COLE_MAJOR@;
|
int cole_major_version = @COLE_MAJOR@;
|
||||||
int cole_minor_version = @COLE_MINOR@;
|
int cole_minor_version = @COLE_MINOR@;
|
||||||
int cole_micro_version = @COLE_MICRO@;
|
int cole_micro_version = @COLE_MICRO@;
|
||||||
char * cole_version = "@COLE_MAJOR@.@COLE_MINOR@.@COLE_MICRO@";
|
char * cole_version = "@COLE_MAJOR@.@COLE_MINOR@.@COLE_MICRO@";
|
||||||
char * cole_host_info = "@HOST_ALIAS_NAME@ (@HOST_CANONICAL_NAME@): @HOST_CPU@, @HOST_VENDOR@, @HOST_OS@";
|
char * cole_host_info = "@HOST_ALIAS_NAME@ (@HOST_CANONICAL_NAME@): @HOST_CPU@, @HOST_VENDOR@, @HOST_OS@";
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
int cole_major_version = 2;
|
int cole_major_version = 2;
|
||||||
int cole_minor_version = 0;
|
int cole_minor_version = 0;
|
||||||
int cole_micro_version = 2;
|
int cole_micro_version = 2;
|
||||||
char * cole_version = "2.0.2";
|
char * cole_version = "2.0.2";
|
||||||
|
|
||||||
#ifndef COMPILER
|
#ifndef COMPILER
|
||||||
#error Define the COMPILER macro
|
#error Define the COMPILER macro
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define STRINGIFY_SUB(s) #s
|
#define STRINGIFY_SUB(s) #s
|
||||||
#define STRINGIFY(s) STRINGIFY_SUB(s)
|
#define STRINGIFY(s) STRINGIFY_SUB(s)
|
||||||
char * cole_host_info = STRINGIFY(COMPILER) ": i686, Microsoft, Win32";
|
char * cole_host_info = STRINGIFY(COMPILER) ": i686, Microsoft, Win32";
|
||||||
|
|||||||
76
config.cache
76
config.cache
@@ -1,38 +1,38 @@
|
|||||||
# This file is a shell script that caches the results of configure
|
# This file is a shell script that caches the results of configure
|
||||||
# tests run on this system so they can be shared between configure
|
# tests run on this system so they can be shared between configure
|
||||||
# scripts and configure runs. It is not useful on other systems.
|
# scripts and configure runs. It is not useful on other systems.
|
||||||
# If it contains results you don't want to keep, you may remove or edit it.
|
# If it contains results you don't want to keep, you may remove or edit it.
|
||||||
#
|
#
|
||||||
# By default, configure uses ./config.cache as the cache file,
|
# By default, configure uses ./config.cache as the cache file,
|
||||||
# creating it if it does not exist already. You can give configure
|
# creating it if it does not exist already. You can give configure
|
||||||
# the --cache-file=FILE option to use a different cache file; that is
|
# the --cache-file=FILE option to use a different cache file; that is
|
||||||
# what configure does when it calls configure scripts in
|
# what configure does when it calls configure scripts in
|
||||||
# subdirectories, so they share the cache.
|
# subdirectories, so they share the cache.
|
||||||
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
||||||
# config.status only pays attention to the cache file if you give it the
|
# config.status only pays attention to the cache file if you give it the
|
||||||
# --recheck option to rerun configure.
|
# --recheck option to rerun configure.
|
||||||
#
|
#
|
||||||
ac_cv_c_bigendian=${ac_cv_c_bigendian='no'}
|
ac_cv_c_bigendian=${ac_cv_c_bigendian='no'}
|
||||||
ac_cv_c_const=${ac_cv_c_const='yes'}
|
ac_cv_c_const=${ac_cv_c_const='yes'}
|
||||||
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
|
ac_cv_header_malloc_h=${ac_cv_header_malloc_h='yes'}
|
||||||
ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
|
ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
|
||||||
ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror='no'}
|
ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror='no'}
|
||||||
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
|
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
|
||||||
ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
|
ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
|
||||||
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
|
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
|
||||||
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'}
|
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'}
|
||||||
ac_cv_prog_STRIP=${ac_cv_prog_STRIP='strip'}
|
ac_cv_prog_STRIP=${ac_cv_prog_STRIP='strip'}
|
||||||
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'}
|
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'}
|
||||||
ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'}
|
ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'}
|
||||||
ac_cv_prog_cc_works=${ac_cv_prog_cc_works='yes'}
|
ac_cv_prog_cc_works=${ac_cv_prog_cc_works='yes'}
|
||||||
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
|
ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'}
|
||||||
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set='yes'}
|
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set='yes'}
|
||||||
ac_cv_sizeof_double=${ac_cv_sizeof_double='8'}
|
ac_cv_sizeof_double=${ac_cv_sizeof_double='8'}
|
||||||
ac_cv_sizeof_float=${ac_cv_sizeof_float='4'}
|
ac_cv_sizeof_float=${ac_cv_sizeof_float='4'}
|
||||||
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double='16'}
|
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double='16'}
|
||||||
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char='1'}
|
ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char='1'}
|
||||||
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int='4'}
|
ac_cv_sizeof_unsigned_int=${ac_cv_sizeof_unsigned_int='4'}
|
||||||
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long='8'}
|
ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long='8'}
|
||||||
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long='8'}
|
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long='8'}
|
||||||
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short='2'}
|
ac_cv_sizeof_unsigned_short=${ac_cv_sizeof_unsigned_short='2'}
|
||||||
ac_cv_type_size_t=${ac_cv_type_size_t='yes'}
|
ac_cv_type_size_t=${ac_cv_type_size_t='yes'}
|
||||||
|
|||||||
2366
config.guess
vendored
2366
config.guess
vendored
File diff suppressed because it is too large
Load Diff
98
config.h
98
config.h
@@ -1,49 +1,49 @@
|
|||||||
/* config.h. Generated automatically by configure. */
|
/* config.h. Generated automatically by configure. */
|
||||||
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
|
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
|
||||||
|
|
||||||
/* Define to empty if the keyword does not work. */
|
/* Define to empty if the keyword does not work. */
|
||||||
/* #undef const */
|
/* #undef const */
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
||||||
/* #undef size_t */
|
/* #undef size_t */
|
||||||
|
|
||||||
/* Define if you have the ANSI C header files. */
|
/* Define if you have the ANSI C header files. */
|
||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
/* Define if your processor stores words with the most significant
|
/* Define if your processor stores words with the most significant
|
||||||
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
byte first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||||
/* #undef WORDS_BIGENDIAN */
|
/* #undef WORDS_BIGENDIAN */
|
||||||
|
|
||||||
/* The number of bytes in a double. */
|
/* The number of bytes in a double. */
|
||||||
#define SIZEOF_DOUBLE 8
|
#define SIZEOF_DOUBLE 8
|
||||||
|
|
||||||
/* The number of bytes in a float. */
|
/* The number of bytes in a float. */
|
||||||
#define SIZEOF_FLOAT 4
|
#define SIZEOF_FLOAT 4
|
||||||
|
|
||||||
/* The number of bytes in a long double. */
|
/* The number of bytes in a long double. */
|
||||||
#define SIZEOF_LONG_DOUBLE 16
|
#define SIZEOF_LONG_DOUBLE 16
|
||||||
|
|
||||||
/* The number of bytes in a unsigned char. */
|
/* The number of bytes in a unsigned char. */
|
||||||
#define SIZEOF_UNSIGNED_CHAR 1
|
#define SIZEOF_UNSIGNED_CHAR 1
|
||||||
|
|
||||||
/* The number of bytes in a unsigned int. */
|
/* The number of bytes in a unsigned int. */
|
||||||
#define SIZEOF_UNSIGNED_INT 4
|
#define SIZEOF_UNSIGNED_INT 4
|
||||||
|
|
||||||
/* The number of bytes in a unsigned long. */
|
/* The number of bytes in a unsigned long. */
|
||||||
#define SIZEOF_UNSIGNED_LONG 8
|
#define SIZEOF_UNSIGNED_LONG 8
|
||||||
|
|
||||||
/* The number of bytes in a unsigned long long. */
|
/* The number of bytes in a unsigned long long. */
|
||||||
#define SIZEOF_UNSIGNED_LONG_LONG 8
|
#define SIZEOF_UNSIGNED_LONG_LONG 8
|
||||||
|
|
||||||
/* The number of bytes in a unsigned short. */
|
/* The number of bytes in a unsigned short. */
|
||||||
#define SIZEOF_UNSIGNED_SHORT 2
|
#define SIZEOF_UNSIGNED_SHORT 2
|
||||||
|
|
||||||
/* Define if you have the <malloc.h> header file. */
|
/* Define if you have the <malloc.h> header file. */
|
||||||
#define HAVE_MALLOC_H 1
|
#define HAVE_MALLOC_H 1
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#define PACKAGE "xlhtml/xlhtml"
|
#define PACKAGE "xlhtml/xlhtml"
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#define VERSION "0.5"
|
#define VERSION "0.5"
|
||||||
|
|
||||||
|
|||||||
206
config.h.in
206
config.h.in
@@ -1,103 +1,103 @@
|
|||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
/* Define if building universal (internal helper macro) */
|
/* Define if building universal (internal helper macro) */
|
||||||
#undef AC_APPLE_UNIVERSAL_BUILD
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <malloc.h> header file. */
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
#undef HAVE_MALLOC_H
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
#undef HAVE_STRINGS_H
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
#undef HAVE_STRING_H
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#undef HAVE_SYS_STAT_H
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
#undef HAVE_SYS_TYPES_H
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
/* Define to the full name of this package. */
|
||||||
#undef PACKAGE_NAME
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
/* Define to the full name and version of this package. */
|
||||||
#undef PACKAGE_STRING
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#undef PACKAGE_TARNAME
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
/* Define to the home page for this package. */
|
/* Define to the home page for this package. */
|
||||||
#undef PACKAGE_URL
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* The size of `double', as computed by sizeof. */
|
/* The size of `double', as computed by sizeof. */
|
||||||
#undef SIZEOF_DOUBLE
|
#undef SIZEOF_DOUBLE
|
||||||
|
|
||||||
/* The size of `float', as computed by sizeof. */
|
/* The size of `float', as computed by sizeof. */
|
||||||
#undef SIZEOF_FLOAT
|
#undef SIZEOF_FLOAT
|
||||||
|
|
||||||
/* The size of `long double', as computed by sizeof. */
|
/* The size of `long double', as computed by sizeof. */
|
||||||
#undef SIZEOF_LONG_DOUBLE
|
#undef SIZEOF_LONG_DOUBLE
|
||||||
|
|
||||||
/* The size of `unsigned char', as computed by sizeof. */
|
/* The size of `unsigned char', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_CHAR
|
#undef SIZEOF_UNSIGNED_CHAR
|
||||||
|
|
||||||
/* The size of `unsigned int', as computed by sizeof. */
|
/* The size of `unsigned int', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_INT
|
#undef SIZEOF_UNSIGNED_INT
|
||||||
|
|
||||||
/* The size of `unsigned long', as computed by sizeof. */
|
/* The size of `unsigned long', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_LONG
|
#undef SIZEOF_UNSIGNED_LONG
|
||||||
|
|
||||||
/* The size of `unsigned long long', as computed by sizeof. */
|
/* The size of `unsigned long long', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_LONG_LONG
|
#undef SIZEOF_UNSIGNED_LONG_LONG
|
||||||
|
|
||||||
/* The size of `unsigned short', as computed by sizeof. */
|
/* The size of `unsigned short', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_SHORT
|
#undef SIZEOF_UNSIGNED_SHORT
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||||
# if defined __BIG_ENDIAN__
|
# if defined __BIG_ENDIAN__
|
||||||
# define WORDS_BIGENDIAN 1
|
# define WORDS_BIGENDIAN 1
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifndef WORDS_BIGENDIAN
|
# ifndef WORDS_BIGENDIAN
|
||||||
# undef WORDS_BIGENDIAN
|
# undef WORDS_BIGENDIAN
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
#undef const
|
#undef const
|
||||||
|
|
||||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
|||||||
206
config.h.in~
206
config.h.in~
@@ -1,103 +1,103 @@
|
|||||||
/* config.h.in. Generated from configure.in by autoheader. */
|
/* config.h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
/* Define if building universal (internal helper macro) */
|
/* Define if building universal (internal helper macro) */
|
||||||
#undef AC_APPLE_UNIVERSAL_BUILD
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <malloc.h> header file. */
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
#undef HAVE_MALLOC_H
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
#undef HAVE_STDLIB_H
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
#undef HAVE_STRINGS_H
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
#undef HAVE_STRING_H
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
#undef HAVE_SYS_STAT_H
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
#undef HAVE_SYS_TYPES_H
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
#undef HAVE_UNISTD_H
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
/* Define to the full name of this package. */
|
||||||
#undef PACKAGE_NAME
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
/* Define to the full name and version of this package. */
|
||||||
#undef PACKAGE_STRING
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#undef PACKAGE_TARNAME
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
/* Define to the home page for this package. */
|
/* Define to the home page for this package. */
|
||||||
#undef PACKAGE_URL
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* The size of `double', as computed by sizeof. */
|
/* The size of `double', as computed by sizeof. */
|
||||||
#undef SIZEOF_DOUBLE
|
#undef SIZEOF_DOUBLE
|
||||||
|
|
||||||
/* The size of `float', as computed by sizeof. */
|
/* The size of `float', as computed by sizeof. */
|
||||||
#undef SIZEOF_FLOAT
|
#undef SIZEOF_FLOAT
|
||||||
|
|
||||||
/* The size of `long double', as computed by sizeof. */
|
/* The size of `long double', as computed by sizeof. */
|
||||||
#undef SIZEOF_LONG_DOUBLE
|
#undef SIZEOF_LONG_DOUBLE
|
||||||
|
|
||||||
/* The size of `unsigned char', as computed by sizeof. */
|
/* The size of `unsigned char', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_CHAR
|
#undef SIZEOF_UNSIGNED_CHAR
|
||||||
|
|
||||||
/* The size of `unsigned int', as computed by sizeof. */
|
/* The size of `unsigned int', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_INT
|
#undef SIZEOF_UNSIGNED_INT
|
||||||
|
|
||||||
/* The size of `unsigned long', as computed by sizeof. */
|
/* The size of `unsigned long', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_LONG
|
#undef SIZEOF_UNSIGNED_LONG
|
||||||
|
|
||||||
/* The size of `unsigned long long', as computed by sizeof. */
|
/* The size of `unsigned long long', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_LONG_LONG
|
#undef SIZEOF_UNSIGNED_LONG_LONG
|
||||||
|
|
||||||
/* The size of `unsigned short', as computed by sizeof. */
|
/* The size of `unsigned short', as computed by sizeof. */
|
||||||
#undef SIZEOF_UNSIGNED_SHORT
|
#undef SIZEOF_UNSIGNED_SHORT
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||||
#if defined AC_APPLE_UNIVERSAL_BUILD
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
||||||
# if defined __BIG_ENDIAN__
|
# if defined __BIG_ENDIAN__
|
||||||
# define WORDS_BIGENDIAN 1
|
# define WORDS_BIGENDIAN 1
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# ifndef WORDS_BIGENDIAN
|
# ifndef WORDS_BIGENDIAN
|
||||||
# undef WORDS_BIGENDIAN
|
# undef WORDS_BIGENDIAN
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
#undef const
|
#undef const
|
||||||
|
|
||||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
|||||||
386
config.log
386
config.log
@@ -1,193 +1,193 @@
|
|||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by configure, which was
|
It was created by configure, which was
|
||||||
generated by GNU Autoconf 2.69. Invocation command line was
|
generated by GNU Autoconf 2.69. Invocation command line was
|
||||||
|
|
||||||
$ ./configure
|
$ ./configure
|
||||||
|
|
||||||
## --------- ##
|
## --------- ##
|
||||||
## Platform. ##
|
## Platform. ##
|
||||||
## --------- ##
|
## --------- ##
|
||||||
|
|
||||||
hostname = lultix
|
hostname = lultix
|
||||||
uname -m = x86_64
|
uname -m = x86_64
|
||||||
uname -r = 4.15.0-112-generic
|
uname -r = 4.15.0-112-generic
|
||||||
uname -s = Linux
|
uname -s = Linux
|
||||||
uname -v = #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
|
uname -v = #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
|
||||||
|
|
||||||
/usr/bin/uname -p = unknown
|
/usr/bin/uname -p = unknown
|
||||||
/bin/uname -X = unknown
|
/bin/uname -X = unknown
|
||||||
|
|
||||||
/bin/arch = unknown
|
/bin/arch = unknown
|
||||||
/usr/bin/arch -k = unknown
|
/usr/bin/arch -k = unknown
|
||||||
/usr/convex/getsysinfo = unknown
|
/usr/convex/getsysinfo = unknown
|
||||||
/usr/bin/hostinfo = unknown
|
/usr/bin/hostinfo = unknown
|
||||||
/bin/machine = unknown
|
/bin/machine = unknown
|
||||||
/usr/bin/oslevel = unknown
|
/usr/bin/oslevel = unknown
|
||||||
/bin/universe = unknown
|
/bin/universe = unknown
|
||||||
|
|
||||||
PATH: /sbin
|
PATH: /sbin
|
||||||
PATH: /bin
|
PATH: /bin
|
||||||
PATH: /usr/bin
|
PATH: /usr/bin
|
||||||
PATH: /usr/local/bin
|
PATH: /usr/local/bin
|
||||||
PATH: /snap/bin
|
PATH: /snap/bin
|
||||||
PATH: /home/charles/dotfiles/bin
|
PATH: /home/charles/dotfiles/bin
|
||||||
|
|
||||||
|
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
## Core tests. ##
|
## Core tests. ##
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
|
|
||||||
configure:2370: checking build system type
|
configure:2370: checking build system type
|
||||||
configure:2381: error: /bin/bash ./config.sub x86_64-unknown-linux-gnu failed
|
configure:2381: error: /bin/bash ./config.sub x86_64-unknown-linux-gnu failed
|
||||||
|
|
||||||
## ---------------- ##
|
## ---------------- ##
|
||||||
## Cache variables. ##
|
## Cache variables. ##
|
||||||
## ---------------- ##
|
## ---------------- ##
|
||||||
|
|
||||||
ac_cv_build=
|
ac_cv_build=
|
||||||
ac_cv_env_CC_set=
|
ac_cv_env_CC_set=
|
||||||
ac_cv_env_CC_value=
|
ac_cv_env_CC_value=
|
||||||
ac_cv_env_CFLAGS_set=
|
ac_cv_env_CFLAGS_set=
|
||||||
ac_cv_env_CFLAGS_value=
|
ac_cv_env_CFLAGS_value=
|
||||||
ac_cv_env_CPPFLAGS_set=
|
ac_cv_env_CPPFLAGS_set=
|
||||||
ac_cv_env_CPPFLAGS_value=
|
ac_cv_env_CPPFLAGS_value=
|
||||||
ac_cv_env_CPP_set=
|
ac_cv_env_CPP_set=
|
||||||
ac_cv_env_CPP_value=
|
ac_cv_env_CPP_value=
|
||||||
ac_cv_env_LDFLAGS_set=
|
ac_cv_env_LDFLAGS_set=
|
||||||
ac_cv_env_LDFLAGS_value=
|
ac_cv_env_LDFLAGS_value=
|
||||||
ac_cv_env_LIBS_set=
|
ac_cv_env_LIBS_set=
|
||||||
ac_cv_env_LIBS_value=
|
ac_cv_env_LIBS_value=
|
||||||
ac_cv_env_build_alias_set=
|
ac_cv_env_build_alias_set=
|
||||||
ac_cv_env_build_alias_value=
|
ac_cv_env_build_alias_value=
|
||||||
ac_cv_env_host_alias_set=
|
ac_cv_env_host_alias_set=
|
||||||
ac_cv_env_host_alias_value=
|
ac_cv_env_host_alias_value=
|
||||||
ac_cv_env_target_alias_set=
|
ac_cv_env_target_alias_set=
|
||||||
ac_cv_env_target_alias_value=
|
ac_cv_env_target_alias_value=
|
||||||
|
|
||||||
## ----------------- ##
|
## ----------------- ##
|
||||||
## Output variables. ##
|
## Output variables. ##
|
||||||
## ----------------- ##
|
## ----------------- ##
|
||||||
|
|
||||||
ACLOCAL=''
|
ACLOCAL=''
|
||||||
AMDEPBACKSLASH=''
|
AMDEPBACKSLASH=''
|
||||||
AMDEP_FALSE=''
|
AMDEP_FALSE=''
|
||||||
AMDEP_TRUE=''
|
AMDEP_TRUE=''
|
||||||
AMTAR=''
|
AMTAR=''
|
||||||
AM_BACKSLASH=''
|
AM_BACKSLASH=''
|
||||||
AM_DEFAULT_V=''
|
AM_DEFAULT_V=''
|
||||||
AM_DEFAULT_VERBOSITY=''
|
AM_DEFAULT_VERBOSITY=''
|
||||||
AM_V=''
|
AM_V=''
|
||||||
AUTOCONF=''
|
AUTOCONF=''
|
||||||
AUTOHEADER=''
|
AUTOHEADER=''
|
||||||
AUTOMAKE=''
|
AUTOMAKE=''
|
||||||
AWK=''
|
AWK=''
|
||||||
CC=''
|
CC=''
|
||||||
CCDEPMODE=''
|
CCDEPMODE=''
|
||||||
CFLAGS=''
|
CFLAGS=''
|
||||||
COLE_MAJOR=''
|
COLE_MAJOR=''
|
||||||
COLE_MICRO=''
|
COLE_MICRO=''
|
||||||
COLE_MINOR=''
|
COLE_MINOR=''
|
||||||
CPP=''
|
CPP=''
|
||||||
CPPFLAGS=''
|
CPPFLAGS=''
|
||||||
CYGPATH_W=''
|
CYGPATH_W=''
|
||||||
DEFS=''
|
DEFS=''
|
||||||
DEPDIR=''
|
DEPDIR=''
|
||||||
ECHO_C=''
|
ECHO_C=''
|
||||||
ECHO_N='-n'
|
ECHO_N='-n'
|
||||||
ECHO_T=''
|
ECHO_T=''
|
||||||
EGREP=''
|
EGREP=''
|
||||||
EXEEXT=''
|
EXEEXT=''
|
||||||
GREP=''
|
GREP=''
|
||||||
HOST_ALIAS_NAME=''
|
HOST_ALIAS_NAME=''
|
||||||
HOST_CANONICAL_NAME=''
|
HOST_CANONICAL_NAME=''
|
||||||
HOST_CPU=''
|
HOST_CPU=''
|
||||||
HOST_OS=''
|
HOST_OS=''
|
||||||
HOST_VENDOR=''
|
HOST_VENDOR=''
|
||||||
INSTALL_DATA=''
|
INSTALL_DATA=''
|
||||||
INSTALL_PROGRAM=''
|
INSTALL_PROGRAM=''
|
||||||
INSTALL_SCRIPT=''
|
INSTALL_SCRIPT=''
|
||||||
INSTALL_STRIP_PROGRAM=''
|
INSTALL_STRIP_PROGRAM=''
|
||||||
LDFLAGS=''
|
LDFLAGS=''
|
||||||
LIBOBJS=''
|
LIBOBJS=''
|
||||||
LIBS=''
|
LIBS=''
|
||||||
LTLIBOBJS=''
|
LTLIBOBJS=''
|
||||||
MAKEINFO=''
|
MAKEINFO=''
|
||||||
MKDIR_P=''
|
MKDIR_P=''
|
||||||
OBJEXT=''
|
OBJEXT=''
|
||||||
PACKAGE=''
|
PACKAGE=''
|
||||||
PACKAGE_BUGREPORT=''
|
PACKAGE_BUGREPORT=''
|
||||||
PACKAGE_NAME=''
|
PACKAGE_NAME=''
|
||||||
PACKAGE_STRING=''
|
PACKAGE_STRING=''
|
||||||
PACKAGE_TARNAME=''
|
PACKAGE_TARNAME=''
|
||||||
PACKAGE_URL=''
|
PACKAGE_URL=''
|
||||||
PACKAGE_VERSION=''
|
PACKAGE_VERSION=''
|
||||||
PATH_SEPARATOR=':'
|
PATH_SEPARATOR=':'
|
||||||
RANLIB=''
|
RANLIB=''
|
||||||
SET_MAKE=''
|
SET_MAKE=''
|
||||||
SHELL='/bin/bash'
|
SHELL='/bin/bash'
|
||||||
STRIP=''
|
STRIP=''
|
||||||
VERSION=''
|
VERSION=''
|
||||||
ac_ct_CC=''
|
ac_ct_CC=''
|
||||||
am__EXEEXT_FALSE=''
|
am__EXEEXT_FALSE=''
|
||||||
am__EXEEXT_TRUE=''
|
am__EXEEXT_TRUE=''
|
||||||
am__fastdepCC_FALSE=''
|
am__fastdepCC_FALSE=''
|
||||||
am__fastdepCC_TRUE=''
|
am__fastdepCC_TRUE=''
|
||||||
am__include=''
|
am__include=''
|
||||||
am__isrc=''
|
am__isrc=''
|
||||||
am__leading_dot=''
|
am__leading_dot=''
|
||||||
am__nodep=''
|
am__nodep=''
|
||||||
am__quote=''
|
am__quote=''
|
||||||
am__tar=''
|
am__tar=''
|
||||||
am__untar=''
|
am__untar=''
|
||||||
bindir='${exec_prefix}/bin'
|
bindir='${exec_prefix}/bin'
|
||||||
build=''
|
build=''
|
||||||
build_alias=''
|
build_alias=''
|
||||||
build_cpu=''
|
build_cpu=''
|
||||||
build_os=''
|
build_os=''
|
||||||
build_vendor=''
|
build_vendor=''
|
||||||
datadir='${datarootdir}'
|
datadir='${datarootdir}'
|
||||||
datarootdir='${prefix}/share'
|
datarootdir='${prefix}/share'
|
||||||
docdir='${datarootdir}/doc/${PACKAGE}'
|
docdir='${datarootdir}/doc/${PACKAGE}'
|
||||||
dvidir='${docdir}'
|
dvidir='${docdir}'
|
||||||
exec_prefix='NONE'
|
exec_prefix='NONE'
|
||||||
host=''
|
host=''
|
||||||
host_alias=''
|
host_alias=''
|
||||||
host_cpu=''
|
host_cpu=''
|
||||||
host_os=''
|
host_os=''
|
||||||
host_vendor=''
|
host_vendor=''
|
||||||
htmldir='${docdir}'
|
htmldir='${docdir}'
|
||||||
includedir='${prefix}/include'
|
includedir='${prefix}/include'
|
||||||
infodir='${datarootdir}/info'
|
infodir='${datarootdir}/info'
|
||||||
install_sh=''
|
install_sh=''
|
||||||
libdir='${exec_prefix}/lib'
|
libdir='${exec_prefix}/lib'
|
||||||
libexecdir='${exec_prefix}/libexec'
|
libexecdir='${exec_prefix}/libexec'
|
||||||
localedir='${datarootdir}/locale'
|
localedir='${datarootdir}/locale'
|
||||||
localstatedir='${prefix}/var'
|
localstatedir='${prefix}/var'
|
||||||
mandir='${datarootdir}/man'
|
mandir='${datarootdir}/man'
|
||||||
mkdir_p=''
|
mkdir_p=''
|
||||||
oldincludedir='/usr/include'
|
oldincludedir='/usr/include'
|
||||||
pdfdir='${docdir}'
|
pdfdir='${docdir}'
|
||||||
prefix='NONE'
|
prefix='NONE'
|
||||||
program_transform_name='s,x,x,'
|
program_transform_name='s,x,x,'
|
||||||
psdir='${docdir}'
|
psdir='${docdir}'
|
||||||
runstatedir='${localstatedir}/run'
|
runstatedir='${localstatedir}/run'
|
||||||
sbindir='${exec_prefix}/sbin'
|
sbindir='${exec_prefix}/sbin'
|
||||||
sharedstatedir='${prefix}/com'
|
sharedstatedir='${prefix}/com'
|
||||||
sysconfdir='${prefix}/etc'
|
sysconfdir='${prefix}/etc'
|
||||||
target_alias=''
|
target_alias=''
|
||||||
|
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
## confdefs.h. ##
|
## confdefs.h. ##
|
||||||
## ----------- ##
|
## ----------- ##
|
||||||
|
|
||||||
/* confdefs.h */
|
/* confdefs.h */
|
||||||
#define PACKAGE_NAME ""
|
#define PACKAGE_NAME ""
|
||||||
#define PACKAGE_TARNAME ""
|
#define PACKAGE_TARNAME ""
|
||||||
#define PACKAGE_VERSION ""
|
#define PACKAGE_VERSION ""
|
||||||
#define PACKAGE_STRING ""
|
#define PACKAGE_STRING ""
|
||||||
#define PACKAGE_BUGREPORT ""
|
#define PACKAGE_BUGREPORT ""
|
||||||
#define PACKAGE_URL ""
|
#define PACKAGE_URL ""
|
||||||
|
|
||||||
configure: exit 1
|
configure: exit 1
|
||||||
|
|||||||
612
config.status
612
config.status
@@ -1,306 +1,306 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Generated automatically by configure.
|
# Generated automatically by configure.
|
||||||
# Run this file to recreate the current configuration.
|
# Run this file to recreate the current configuration.
|
||||||
# This directory was configured as follows,
|
# This directory was configured as follows,
|
||||||
# on host lultix:
|
# on host lultix:
|
||||||
#
|
#
|
||||||
# ./configure
|
# ./configure
|
||||||
#
|
#
|
||||||
# Compiler output produced by configure, useful for debugging
|
# Compiler output produced by configure, useful for debugging
|
||||||
# configure, is in ./config.log if it exists.
|
# configure, is in ./config.log if it exists.
|
||||||
|
|
||||||
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
|
ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
|
||||||
for ac_option
|
for ac_option
|
||||||
do
|
do
|
||||||
case "$ac_option" in
|
case "$ac_option" in
|
||||||
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
||||||
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
|
echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion"
|
||||||
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
|
exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;;
|
||||||
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
||||||
echo "./config.status generated by autoconf version 2.13"
|
echo "./config.status generated by autoconf version 2.13"
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
-help | --help | --hel | --he | --h)
|
-help | --help | --hel | --he | --h)
|
||||||
echo "$ac_cs_usage"; exit 0 ;;
|
echo "$ac_cs_usage"; exit 0 ;;
|
||||||
*) echo "$ac_cs_usage"; exit 1 ;;
|
*) echo "$ac_cs_usage"; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
ac_given_srcdir=.
|
ac_given_srcdir=.
|
||||||
ac_given_INSTALL="/usr/bin/install -c"
|
ac_given_INSTALL="/usr/bin/install -c"
|
||||||
|
|
||||||
trap 'rm -fr Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile config.h conftest*; exit 1' 1 2 15
|
trap 'rm -fr Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile config.h conftest*; exit 1' 1 2 15
|
||||||
|
|
||||||
# Protect against being on the right side of a sed subst in config.status.
|
# Protect against being on the right side of a sed subst in config.status.
|
||||||
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
|
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
|
||||||
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
|
s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
|
||||||
/^[ ]*VPATH[ ]*=[^:]*$/d
|
/^[ ]*VPATH[ ]*=[^:]*$/d
|
||||||
|
|
||||||
s%@SHELL@%/bin/sh%g
|
s%@SHELL@%/bin/sh%g
|
||||||
s%@CFLAGS@%-g -O2%g
|
s%@CFLAGS@%-g -O2%g
|
||||||
s%@CPPFLAGS@%%g
|
s%@CPPFLAGS@%%g
|
||||||
s%@CXXFLAGS@%%g
|
s%@CXXFLAGS@%%g
|
||||||
s%@FFLAGS@%%g
|
s%@FFLAGS@%%g
|
||||||
s%@DEFS@%-DHAVE_CONFIG_H%g
|
s%@DEFS@%-DHAVE_CONFIG_H%g
|
||||||
s%@LDFLAGS@%%g
|
s%@LDFLAGS@%%g
|
||||||
s%@LIBS@%%g
|
s%@LIBS@%%g
|
||||||
s%@exec_prefix@%${prefix}%g
|
s%@exec_prefix@%${prefix}%g
|
||||||
s%@prefix@%/usr/local%g
|
s%@prefix@%/usr/local%g
|
||||||
s%@program_transform_name@%s,x,x,%g
|
s%@program_transform_name@%s,x,x,%g
|
||||||
s%@bindir@%${exec_prefix}/bin%g
|
s%@bindir@%${exec_prefix}/bin%g
|
||||||
s%@sbindir@%${exec_prefix}/sbin%g
|
s%@sbindir@%${exec_prefix}/sbin%g
|
||||||
s%@libexecdir@%${exec_prefix}/libexec%g
|
s%@libexecdir@%${exec_prefix}/libexec%g
|
||||||
s%@datadir@%${prefix}/share%g
|
s%@datadir@%${prefix}/share%g
|
||||||
s%@sysconfdir@%${prefix}/etc%g
|
s%@sysconfdir@%${prefix}/etc%g
|
||||||
s%@sharedstatedir@%${prefix}/com%g
|
s%@sharedstatedir@%${prefix}/com%g
|
||||||
s%@localstatedir@%${prefix}/var%g
|
s%@localstatedir@%${prefix}/var%g
|
||||||
s%@libdir@%${exec_prefix}/lib%g
|
s%@libdir@%${exec_prefix}/lib%g
|
||||||
s%@includedir@%${prefix}/include%g
|
s%@includedir@%${prefix}/include%g
|
||||||
s%@oldincludedir@%/usr/include%g
|
s%@oldincludedir@%/usr/include%g
|
||||||
s%@infodir@%${prefix}/info%g
|
s%@infodir@%${prefix}/info%g
|
||||||
s%@mandir@%${prefix}/man%g
|
s%@mandir@%${prefix}/man%g
|
||||||
s%@host@%%g
|
s%@host@%%g
|
||||||
s%@host_alias@%x86_64-unknown-linux-gnu%g
|
s%@host_alias@%x86_64-unknown-linux-gnu%g
|
||||||
s%@host_cpu@%%g
|
s%@host_cpu@%%g
|
||||||
s%@host_vendor@%%g
|
s%@host_vendor@%%g
|
||||||
s%@host_os@%%g
|
s%@host_os@%%g
|
||||||
s%@HOST_CANONICAL_NAME@%%g
|
s%@HOST_CANONICAL_NAME@%%g
|
||||||
s%@HOST_ALIAS_NAME@%x86_64-unknown-linux-gnu%g
|
s%@HOST_ALIAS_NAME@%x86_64-unknown-linux-gnu%g
|
||||||
s%@HOST_CPU@%%g
|
s%@HOST_CPU@%%g
|
||||||
s%@HOST_VENDOR@%%g
|
s%@HOST_VENDOR@%%g
|
||||||
s%@HOST_OS@%%g
|
s%@HOST_OS@%%g
|
||||||
s%@INSTALL_PROGRAM@%${INSTALL}%g
|
s%@INSTALL_PROGRAM@%${INSTALL}%g
|
||||||
s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
|
s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
|
||||||
s%@INSTALL_DATA@%${INSTALL} -m 644%g
|
s%@INSTALL_DATA@%${INSTALL} -m 644%g
|
||||||
s%@PACKAGE@%xlhtml/xlhtml%g
|
s%@PACKAGE@%xlhtml/xlhtml%g
|
||||||
s%@VERSION@%0.5%g
|
s%@VERSION@%0.5%g
|
||||||
s%@ACLOCAL@%aclocal%g
|
s%@ACLOCAL@%aclocal%g
|
||||||
s%@AUTOCONF@%autoconf%g
|
s%@AUTOCONF@%autoconf%g
|
||||||
s%@AUTOMAKE@%automake%g
|
s%@AUTOMAKE@%automake%g
|
||||||
s%@AUTOHEADER@%autoheader%g
|
s%@AUTOHEADER@%autoheader%g
|
||||||
s%@MAKEINFO@%makeinfo%g
|
s%@MAKEINFO@%makeinfo%g
|
||||||
s%@SET_MAKE@%%g
|
s%@SET_MAKE@%%g
|
||||||
s%@CC@%gcc%g
|
s%@CC@%gcc%g
|
||||||
s%@RANLIB@%ranlib%g
|
s%@RANLIB@%ranlib%g
|
||||||
s%@CPP@%gcc -E%g
|
s%@CPP@%gcc -E%g
|
||||||
s%@build@%%g
|
s%@build@%%g
|
||||||
s%@build_alias@%x86_64-unknown-linux-gnu%g
|
s%@build_alias@%x86_64-unknown-linux-gnu%g
|
||||||
s%@build_cpu@%%g
|
s%@build_cpu@%%g
|
||||||
s%@build_vendor@%%g
|
s%@build_vendor@%%g
|
||||||
s%@build_os@%%g
|
s%@build_os@%%g
|
||||||
s%@STRIP@%strip%g
|
s%@STRIP@%strip%g
|
||||||
s%@COLE_MAJOR@%2%g
|
s%@COLE_MAJOR@%2%g
|
||||||
s%@COLE_MINOR@%0%g
|
s%@COLE_MINOR@%0%g
|
||||||
s%@COLE_MICRO@%2%g
|
s%@COLE_MICRO@%2%g
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
|
|
||||||
# Split the substitutions into bite-sized pieces for seds with
|
# Split the substitutions into bite-sized pieces for seds with
|
||||||
# small command number limits, like on Digital OSF/1 and HP-UX.
|
# small command number limits, like on Digital OSF/1 and HP-UX.
|
||||||
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
|
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
|
||||||
ac_file=1 # Number of current file.
|
ac_file=1 # Number of current file.
|
||||||
ac_beg=1 # First line for current file.
|
ac_beg=1 # First line for current file.
|
||||||
ac_end=$ac_max_sed_cmds # Line after last line for current file.
|
ac_end=$ac_max_sed_cmds # Line after last line for current file.
|
||||||
ac_more_lines=:
|
ac_more_lines=:
|
||||||
ac_sed_cmds=""
|
ac_sed_cmds=""
|
||||||
while $ac_more_lines; do
|
while $ac_more_lines; do
|
||||||
if test $ac_beg -gt 1; then
|
if test $ac_beg -gt 1; then
|
||||||
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
|
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
|
||||||
else
|
else
|
||||||
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
|
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
|
||||||
fi
|
fi
|
||||||
if test ! -s conftest.s$ac_file; then
|
if test ! -s conftest.s$ac_file; then
|
||||||
ac_more_lines=false
|
ac_more_lines=false
|
||||||
rm -f conftest.s$ac_file
|
rm -f conftest.s$ac_file
|
||||||
else
|
else
|
||||||
if test -z "$ac_sed_cmds"; then
|
if test -z "$ac_sed_cmds"; then
|
||||||
ac_sed_cmds="sed -f conftest.s$ac_file"
|
ac_sed_cmds="sed -f conftest.s$ac_file"
|
||||||
else
|
else
|
||||||
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
|
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
|
||||||
fi
|
fi
|
||||||
ac_file=`expr $ac_file + 1`
|
ac_file=`expr $ac_file + 1`
|
||||||
ac_beg=$ac_end
|
ac_beg=$ac_end
|
||||||
ac_end=`expr $ac_end + $ac_max_sed_cmds`
|
ac_end=`expr $ac_end + $ac_max_sed_cmds`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test -z "$ac_sed_cmds"; then
|
if test -z "$ac_sed_cmds"; then
|
||||||
ac_sed_cmds=cat
|
ac_sed_cmds=cat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CONFIG_FILES=${CONFIG_FILES-"Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile"}
|
CONFIG_FILES=${CONFIG_FILES-"Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile"}
|
||||||
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
||||||
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
||||||
case "$ac_file" in
|
case "$ac_file" in
|
||||||
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
||||||
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
||||||
*) ac_file_in="${ac_file}.in" ;;
|
*) ac_file_in="${ac_file}.in" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
||||||
|
|
||||||
# Remove last slash and all that follows it. Not all systems have dirname.
|
# Remove last slash and all that follows it. Not all systems have dirname.
|
||||||
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
||||||
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
||||||
# The file is in a subdirectory.
|
# The file is in a subdirectory.
|
||||||
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
||||||
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
|
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
|
||||||
# A "../" for each directory in $ac_dir_suffix.
|
# A "../" for each directory in $ac_dir_suffix.
|
||||||
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
|
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
|
||||||
else
|
else
|
||||||
ac_dir_suffix= ac_dots=
|
ac_dir_suffix= ac_dots=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$ac_given_srcdir" in
|
case "$ac_given_srcdir" in
|
||||||
.) srcdir=.
|
.) srcdir=.
|
||||||
if test -z "$ac_dots"; then top_srcdir=.
|
if test -z "$ac_dots"; then top_srcdir=.
|
||||||
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
|
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
|
||||||
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
||||||
*) # Relative path.
|
*) # Relative path.
|
||||||
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
|
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
|
||||||
top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$ac_given_INSTALL" in
|
case "$ac_given_INSTALL" in
|
||||||
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
||||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo creating "$ac_file"
|
echo creating "$ac_file"
|
||||||
rm -f "$ac_file"
|
rm -f "$ac_file"
|
||||||
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
||||||
case "$ac_file" in
|
case "$ac_file" in
|
||||||
*Makefile*) ac_comsub="1i\\
|
*Makefile*) ac_comsub="1i\\
|
||||||
# $configure_input" ;;
|
# $configure_input" ;;
|
||||||
*) ac_comsub= ;;
|
*) ac_comsub= ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
||||||
sed -e "$ac_comsub
|
sed -e "$ac_comsub
|
||||||
s%@configure_input@%$configure_input%g
|
s%@configure_input@%$configure_input%g
|
||||||
s%@srcdir@%$srcdir%g
|
s%@srcdir@%$srcdir%g
|
||||||
s%@top_srcdir@%$top_srcdir%g
|
s%@top_srcdir@%$top_srcdir%g
|
||||||
s%@INSTALL@%$INSTALL%g
|
s%@INSTALL@%$INSTALL%g
|
||||||
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
|
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
|
||||||
fi; done
|
fi; done
|
||||||
rm -f conftest.s*
|
rm -f conftest.s*
|
||||||
|
|
||||||
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
||||||
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
||||||
#
|
#
|
||||||
# ac_d sets the value in "#define NAME VALUE" lines.
|
# ac_d sets the value in "#define NAME VALUE" lines.
|
||||||
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
||||||
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
|
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
|
||||||
ac_dC='\3'
|
ac_dC='\3'
|
||||||
ac_dD='%g'
|
ac_dD='%g'
|
||||||
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
|
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
|
||||||
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
||||||
ac_uB='\([ ]\)%\1#\2define\3'
|
ac_uB='\([ ]\)%\1#\2define\3'
|
||||||
ac_uC=' '
|
ac_uC=' '
|
||||||
ac_uD='\4%g'
|
ac_uD='\4%g'
|
||||||
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
||||||
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
||||||
ac_eB='$%\1#\2define\3'
|
ac_eB='$%\1#\2define\3'
|
||||||
ac_eC=' '
|
ac_eC=' '
|
||||||
ac_eD='%g'
|
ac_eD='%g'
|
||||||
|
|
||||||
if test "${CONFIG_HEADERS+set}" != set; then
|
if test "${CONFIG_HEADERS+set}" != set; then
|
||||||
CONFIG_HEADERS="config.h"
|
CONFIG_HEADERS="config.h"
|
||||||
fi
|
fi
|
||||||
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
|
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
|
||||||
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
||||||
case "$ac_file" in
|
case "$ac_file" in
|
||||||
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
||||||
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
||||||
*) ac_file_in="${ac_file}.in" ;;
|
*) ac_file_in="${ac_file}.in" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo creating $ac_file
|
echo creating $ac_file
|
||||||
|
|
||||||
rm -f conftest.frag conftest.in conftest.out
|
rm -f conftest.frag conftest.in conftest.out
|
||||||
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
||||||
cat $ac_file_inputs > conftest.in
|
cat $ac_file_inputs > conftest.in
|
||||||
|
|
||||||
cat > conftest.frag <<CEOF
|
cat > conftest.frag <<CEOF
|
||||||
${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"xlhtml/xlhtml"${ac_dD}
|
${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"xlhtml/xlhtml"${ac_dD}
|
||||||
${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"xlhtml/xlhtml"${ac_uD}
|
${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"xlhtml/xlhtml"${ac_uD}
|
||||||
${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"xlhtml/xlhtml"${ac_eD}
|
${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"xlhtml/xlhtml"${ac_eD}
|
||||||
${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.5"${ac_dD}
|
${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"0.5"${ac_dD}
|
||||||
${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.5"${ac_uD}
|
${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"0.5"${ac_uD}
|
||||||
${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"0.5"${ac_eD}
|
${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"0.5"${ac_eD}
|
||||||
${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
|
${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
|
||||||
${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
|
${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
|
||||||
${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
|
${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
|
||||||
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
|
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
|
||||||
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
|
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
|
||||||
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
|
${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
|
||||||
CEOF
|
CEOF
|
||||||
sed -f conftest.frag conftest.in > conftest.out
|
sed -f conftest.frag conftest.in > conftest.out
|
||||||
rm -f conftest.in
|
rm -f conftest.in
|
||||||
mv conftest.out conftest.in
|
mv conftest.out conftest.in
|
||||||
|
|
||||||
cat > conftest.frag <<CEOF
|
cat > conftest.frag <<CEOF
|
||||||
${ac_dA}SIZEOF_UNSIGNED_CHAR${ac_dB}SIZEOF_UNSIGNED_CHAR${ac_dC}1${ac_dD}
|
${ac_dA}SIZEOF_UNSIGNED_CHAR${ac_dB}SIZEOF_UNSIGNED_CHAR${ac_dC}1${ac_dD}
|
||||||
${ac_uA}SIZEOF_UNSIGNED_CHAR${ac_uB}SIZEOF_UNSIGNED_CHAR${ac_uC}1${ac_uD}
|
${ac_uA}SIZEOF_UNSIGNED_CHAR${ac_uB}SIZEOF_UNSIGNED_CHAR${ac_uC}1${ac_uD}
|
||||||
${ac_eA}SIZEOF_UNSIGNED_CHAR${ac_eB}SIZEOF_UNSIGNED_CHAR${ac_eC}1${ac_eD}
|
${ac_eA}SIZEOF_UNSIGNED_CHAR${ac_eB}SIZEOF_UNSIGNED_CHAR${ac_eC}1${ac_eD}
|
||||||
${ac_dA}SIZEOF_UNSIGNED_SHORT${ac_dB}SIZEOF_UNSIGNED_SHORT${ac_dC}2${ac_dD}
|
${ac_dA}SIZEOF_UNSIGNED_SHORT${ac_dB}SIZEOF_UNSIGNED_SHORT${ac_dC}2${ac_dD}
|
||||||
${ac_uA}SIZEOF_UNSIGNED_SHORT${ac_uB}SIZEOF_UNSIGNED_SHORT${ac_uC}2${ac_uD}
|
${ac_uA}SIZEOF_UNSIGNED_SHORT${ac_uB}SIZEOF_UNSIGNED_SHORT${ac_uC}2${ac_uD}
|
||||||
${ac_eA}SIZEOF_UNSIGNED_SHORT${ac_eB}SIZEOF_UNSIGNED_SHORT${ac_eC}2${ac_eD}
|
${ac_eA}SIZEOF_UNSIGNED_SHORT${ac_eB}SIZEOF_UNSIGNED_SHORT${ac_eC}2${ac_eD}
|
||||||
${ac_dA}SIZEOF_UNSIGNED_INT${ac_dB}SIZEOF_UNSIGNED_INT${ac_dC}4${ac_dD}
|
${ac_dA}SIZEOF_UNSIGNED_INT${ac_dB}SIZEOF_UNSIGNED_INT${ac_dC}4${ac_dD}
|
||||||
${ac_uA}SIZEOF_UNSIGNED_INT${ac_uB}SIZEOF_UNSIGNED_INT${ac_uC}4${ac_uD}
|
${ac_uA}SIZEOF_UNSIGNED_INT${ac_uB}SIZEOF_UNSIGNED_INT${ac_uC}4${ac_uD}
|
||||||
${ac_eA}SIZEOF_UNSIGNED_INT${ac_eB}SIZEOF_UNSIGNED_INT${ac_eC}4${ac_eD}
|
${ac_eA}SIZEOF_UNSIGNED_INT${ac_eB}SIZEOF_UNSIGNED_INT${ac_eC}4${ac_eD}
|
||||||
${ac_dA}SIZEOF_UNSIGNED_LONG${ac_dB}SIZEOF_UNSIGNED_LONG${ac_dC}8${ac_dD}
|
${ac_dA}SIZEOF_UNSIGNED_LONG${ac_dB}SIZEOF_UNSIGNED_LONG${ac_dC}8${ac_dD}
|
||||||
${ac_uA}SIZEOF_UNSIGNED_LONG${ac_uB}SIZEOF_UNSIGNED_LONG${ac_uC}8${ac_uD}
|
${ac_uA}SIZEOF_UNSIGNED_LONG${ac_uB}SIZEOF_UNSIGNED_LONG${ac_uC}8${ac_uD}
|
||||||
${ac_eA}SIZEOF_UNSIGNED_LONG${ac_eB}SIZEOF_UNSIGNED_LONG${ac_eC}8${ac_eD}
|
${ac_eA}SIZEOF_UNSIGNED_LONG${ac_eB}SIZEOF_UNSIGNED_LONG${ac_eC}8${ac_eD}
|
||||||
CEOF
|
CEOF
|
||||||
sed -f conftest.frag conftest.in > conftest.out
|
sed -f conftest.frag conftest.in > conftest.out
|
||||||
rm -f conftest.in
|
rm -f conftest.in
|
||||||
mv conftest.out conftest.in
|
mv conftest.out conftest.in
|
||||||
|
|
||||||
cat > conftest.frag <<CEOF
|
cat > conftest.frag <<CEOF
|
||||||
${ac_dA}SIZEOF_UNSIGNED_LONG_LONG${ac_dB}SIZEOF_UNSIGNED_LONG_LONG${ac_dC}8${ac_dD}
|
${ac_dA}SIZEOF_UNSIGNED_LONG_LONG${ac_dB}SIZEOF_UNSIGNED_LONG_LONG${ac_dC}8${ac_dD}
|
||||||
${ac_uA}SIZEOF_UNSIGNED_LONG_LONG${ac_uB}SIZEOF_UNSIGNED_LONG_LONG${ac_uC}8${ac_uD}
|
${ac_uA}SIZEOF_UNSIGNED_LONG_LONG${ac_uB}SIZEOF_UNSIGNED_LONG_LONG${ac_uC}8${ac_uD}
|
||||||
${ac_eA}SIZEOF_UNSIGNED_LONG_LONG${ac_eB}SIZEOF_UNSIGNED_LONG_LONG${ac_eC}8${ac_eD}
|
${ac_eA}SIZEOF_UNSIGNED_LONG_LONG${ac_eB}SIZEOF_UNSIGNED_LONG_LONG${ac_eC}8${ac_eD}
|
||||||
${ac_dA}SIZEOF_FLOAT${ac_dB}SIZEOF_FLOAT${ac_dC}4${ac_dD}
|
${ac_dA}SIZEOF_FLOAT${ac_dB}SIZEOF_FLOAT${ac_dC}4${ac_dD}
|
||||||
${ac_uA}SIZEOF_FLOAT${ac_uB}SIZEOF_FLOAT${ac_uC}4${ac_uD}
|
${ac_uA}SIZEOF_FLOAT${ac_uB}SIZEOF_FLOAT${ac_uC}4${ac_uD}
|
||||||
${ac_eA}SIZEOF_FLOAT${ac_eB}SIZEOF_FLOAT${ac_eC}4${ac_eD}
|
${ac_eA}SIZEOF_FLOAT${ac_eB}SIZEOF_FLOAT${ac_eC}4${ac_eD}
|
||||||
${ac_dA}SIZEOF_DOUBLE${ac_dB}SIZEOF_DOUBLE${ac_dC}8${ac_dD}
|
${ac_dA}SIZEOF_DOUBLE${ac_dB}SIZEOF_DOUBLE${ac_dC}8${ac_dD}
|
||||||
${ac_uA}SIZEOF_DOUBLE${ac_uB}SIZEOF_DOUBLE${ac_uC}8${ac_uD}
|
${ac_uA}SIZEOF_DOUBLE${ac_uB}SIZEOF_DOUBLE${ac_uC}8${ac_uD}
|
||||||
${ac_eA}SIZEOF_DOUBLE${ac_eB}SIZEOF_DOUBLE${ac_eC}8${ac_eD}
|
${ac_eA}SIZEOF_DOUBLE${ac_eB}SIZEOF_DOUBLE${ac_eC}8${ac_eD}
|
||||||
${ac_dA}SIZEOF_LONG_DOUBLE${ac_dB}SIZEOF_LONG_DOUBLE${ac_dC}16${ac_dD}
|
${ac_dA}SIZEOF_LONG_DOUBLE${ac_dB}SIZEOF_LONG_DOUBLE${ac_dC}16${ac_dD}
|
||||||
${ac_uA}SIZEOF_LONG_DOUBLE${ac_uB}SIZEOF_LONG_DOUBLE${ac_uC}16${ac_uD}
|
${ac_uA}SIZEOF_LONG_DOUBLE${ac_uB}SIZEOF_LONG_DOUBLE${ac_uC}16${ac_uD}
|
||||||
${ac_eA}SIZEOF_LONG_DOUBLE${ac_eB}SIZEOF_LONG_DOUBLE${ac_eC}16${ac_eD}
|
${ac_eA}SIZEOF_LONG_DOUBLE${ac_eB}SIZEOF_LONG_DOUBLE${ac_eC}16${ac_eD}
|
||||||
CEOF
|
CEOF
|
||||||
sed -f conftest.frag conftest.in > conftest.out
|
sed -f conftest.frag conftest.in > conftest.out
|
||||||
rm -f conftest.in
|
rm -f conftest.in
|
||||||
mv conftest.out conftest.in
|
mv conftest.out conftest.in
|
||||||
|
|
||||||
cat > conftest.frag <<CEOF
|
cat > conftest.frag <<CEOF
|
||||||
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
|
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
|
||||||
CEOF
|
CEOF
|
||||||
sed -f conftest.frag conftest.in > conftest.out
|
sed -f conftest.frag conftest.in > conftest.out
|
||||||
rm -f conftest.in
|
rm -f conftest.in
|
||||||
mv conftest.out conftest.in
|
mv conftest.out conftest.in
|
||||||
|
|
||||||
rm -f conftest.frag conftest.h
|
rm -f conftest.frag conftest.h
|
||||||
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
|
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
|
||||||
cat conftest.in >> conftest.h
|
cat conftest.in >> conftest.h
|
||||||
rm -f conftest.in
|
rm -f conftest.in
|
||||||
if cmp -s $ac_file conftest.h 2>/dev/null; then
|
if cmp -s $ac_file conftest.h 2>/dev/null; then
|
||||||
echo "$ac_file is unchanged"
|
echo "$ac_file is unchanged"
|
||||||
rm -f conftest.h
|
rm -f conftest.h
|
||||||
else
|
else
|
||||||
# Remove last slash and all that follows it. Not all systems have dirname.
|
# Remove last slash and all that follows it. Not all systems have dirname.
|
||||||
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
||||||
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
||||||
# The file is in a subdirectory.
|
# The file is in a subdirectory.
|
||||||
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
||||||
fi
|
fi
|
||||||
rm -f $ac_file
|
rm -f $ac_file
|
||||||
mv conftest.h $ac_file
|
mv conftest.h $ac_file
|
||||||
fi
|
fi
|
||||||
fi; done
|
fi; done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
2536
config.sub
vendored
2536
config.sub
vendored
File diff suppressed because it is too large
Load Diff
134
configure.ac
134
configure.ac
@@ -1,67 +1,67 @@
|
|||||||
AC_INIT
|
AC_INIT
|
||||||
|
|
||||||
dnl Host
|
dnl Host
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
HOST_CANONICAL_NAME=$host
|
HOST_CANONICAL_NAME=$host
|
||||||
HOST_ALIAS_NAME=${host_alias}
|
HOST_ALIAS_NAME=${host_alias}
|
||||||
HOST_CPU=${host_cpu}
|
HOST_CPU=${host_cpu}
|
||||||
HOST_VENDOR=${host_vendor}
|
HOST_VENDOR=${host_vendor}
|
||||||
HOST_OS=${host_os}
|
HOST_OS=${host_os}
|
||||||
AC_SUBST(HOST_CANONICAL_NAME)
|
AC_SUBST(HOST_CANONICAL_NAME)
|
||||||
AC_SUBST(HOST_ALIAS_NAME)
|
AC_SUBST(HOST_ALIAS_NAME)
|
||||||
AC_SUBST(HOST_CPU)
|
AC_SUBST(HOST_CPU)
|
||||||
AC_SUBST(HOST_VENDOR)
|
AC_SUBST(HOST_VENDOR)
|
||||||
AC_SUBST(HOST_OS)
|
AC_SUBST(HOST_OS)
|
||||||
|
|
||||||
AC_INIT([xlhtml], [0.5])
|
AC_INIT([xlhtml], [0.5])
|
||||||
AC_CONFIG_SRCDIR([src/foo.c])
|
AC_CONFIG_SRCDIR([src/foo.c])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
|
|
||||||
AC_CHECK_HEADERS(malloc.h)
|
AC_CHECK_HEADERS(malloc.h)
|
||||||
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_CHECK_SIZEOF(unsigned char)
|
AC_CHECK_SIZEOF(unsigned char)
|
||||||
AC_CHECK_SIZEOF(unsigned short)
|
AC_CHECK_SIZEOF(unsigned short)
|
||||||
AC_CHECK_SIZEOF(unsigned int)
|
AC_CHECK_SIZEOF(unsigned int)
|
||||||
AC_CHECK_SIZEOF(unsigned long)
|
AC_CHECK_SIZEOF(unsigned long)
|
||||||
AC_CHECK_SIZEOF(unsigned long long)
|
AC_CHECK_SIZEOF(unsigned long long)
|
||||||
AC_CHECK_SIZEOF(float)
|
AC_CHECK_SIZEOF(float)
|
||||||
AC_CHECK_SIZEOF(double)
|
AC_CHECK_SIZEOF(double)
|
||||||
AC_CHECK_SIZEOF(long double)
|
AC_CHECK_SIZEOF(long double)
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
AC_CHECK_TOOL([STRIP],[strip])
|
AC_CHECK_TOOL([STRIP],[strip])
|
||||||
|
|
||||||
dnl 4a) Increment when remove or change interfaces.
|
dnl 4a) Increment when remove or change interfaces.
|
||||||
dnl [USER SHOULD UPDATE]
|
dnl [USER SHOULD UPDATE]
|
||||||
COLE_MAJOR=2
|
COLE_MAJOR=2
|
||||||
dnl 4a) 5) Increment when add interfaces.
|
dnl 4a) 5) Increment when add interfaces.
|
||||||
dnl 6) Set to zero when remove (or change) interfaces.
|
dnl 6) Set to zero when remove (or change) interfaces.
|
||||||
dnl [PROGRAMMERS SHOULD LOOK WHAT'S NEW]
|
dnl [PROGRAMMERS SHOULD LOOK WHAT'S NEW]
|
||||||
COLE_MINOR=0
|
COLE_MINOR=0
|
||||||
dnl 3) Increment when interfaces not changed at all,
|
dnl 3) Increment when interfaces not changed at all,
|
||||||
dnl only bug fixes or internal changes.
|
dnl only bug fixes or internal changes.
|
||||||
dnl 4b) Set to zero when add, remove or change interfaces.
|
dnl 4b) Set to zero when add, remove or change interfaces.
|
||||||
dnl [ONLY MAINTAINER SHOULD CARE]
|
dnl [ONLY MAINTAINER SHOULD CARE]
|
||||||
COLE_MICRO=2
|
COLE_MICRO=2
|
||||||
dnl
|
dnl
|
||||||
dnl Set this too (I don't know how to do it automatically =) ):
|
dnl Set this too (I don't know how to do it automatically =) ):
|
||||||
COLE_MAJOR_PLUS_COLE_MINOR=2
|
COLE_MAJOR_PLUS_COLE_MINOR=2
|
||||||
dnl
|
dnl
|
||||||
AC_SUBST(COLE_MAJOR)
|
AC_SUBST(COLE_MAJOR)
|
||||||
AC_SUBST(COLE_MINOR)
|
AC_SUBST(COLE_MINOR)
|
||||||
AC_SUBST(COLE_MICRO)
|
AC_SUBST(COLE_MICRO)
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile])
|
AC_OUTPUT([Makefile cole/Makefile cole/version.c cole/cole.h xlhtml/Makefile ppthtml/Makefile])
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user