Age | Commit message (Collapse) | Author | Files | Lines |
|
Added the COPYING, AUTHORS, NEWS and README files. The COPYING file is
standard GPLv2, which we will use for this package. Copyrights will be
added to individual source files later.
The NEWS and README files are currently empty, but will be populated
later. The INSTALL file will also be included in the tarball, but we'll
just use the standard GNU INSTALL file from automake.
|
|
The ChangeLog file will be generated from the git log at dist time and
included in the tarball.
|
|
Instead of passing the macros through the compiler, this adds an auto-
generated header to include in the sources.
|
|
|
|
After realizing that there would be more uses of dynamic string arrays
than just dep_t, it was decided that the strarg would be resurrected.
The difference now is that there is no strarg structure. Instead, the
caller must supply the necessary types to the functions. This allows
for flexibility in how the strargs are used.
|
|
Renamed the project to initd-tools. Refactored the code to reflect that
the main type is an init script with associated dependencies. The strarg
type was converted to the dep type as this is really the only spot where
we use dynamic string arrays.
|
|
Added a new type and API for handling dynamic arrays of strings. The new
structure, strarg, contains a char** member as well as a count member. A
test case has been added for creating and freeing this type.
|
|
When working with a list of deps, it's important to know that all the
sub-dependencies have an associated dep_t of the same name in the list.
This means that we can easily find that ordering the deps won't result
stop in an undefined reference.
A new test program has been created for this function.
|
|
The test program was about testing the d_string functions, so "test" was
a little too generic.
|
|
Add a dependency API using the dep struct. This structure contains a
name string and a NULL terminated array of dependencies. A few accessor
type functions have been created.
|
|
This is a very simple string library, which probably does lots of wrong
things.
|