diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-09 12:34:13 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-14 11:23:47 +0100 |
commit | 7f2ac369f7747a033f5e84d8c7fb3aa131f25537 (patch) | |
tree | c2498f057e621cb159f0bd2c4813fcb084d9d0f5 /.gitignore | |
parent | d5b89d36224b394391af09fba7ed0a7921175610 (diff) | |
download | libguestfs-7f2ac369f7747a033f5e84d8c7fb3aa131f25537.tar.gz libguestfs-7f2ac369f7747a033f5e84d8c7fb3aa131f25537.tar.xz libguestfs-7f2ac369f7747a033f5e84d8c7fb3aa131f25537.zip |
Non-daemon actions indirect through generated code.
Previously non-daemon actions were called directly by
user code, eg:
/* Non-generated */
int
guestfs_set_verbose (guestfs_h *g, int v)
{
g->verbose = !!v;
return 0;
}
This changes these actions so they go indirectly via
some generated code, eg:
/* Generated */
int guestfs_set_verbose (guestfs_h *g,
int verbose)
{
return guestfs__set_verbose (g, verbose);
}
/* Non-generated */
int
guestfs__set_verbose (guestfs_h *g, int v)
{
g->verbose = !!v;
return 0;
}
The aim is to have a place in the generated code where
we can add debug or tracing information for these non-
daemon calls.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -178,6 +178,7 @@ ruby/Rakefile src/guestfs-actions.c src/guestfs-actions.h src/guestfs-bindtests.c +src/guestfs-internal-actions.h src/guestfs_protocol.c src/guestfs_protocol.h src/guestfs_protocol.x |