aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
committerWerner Koch <[email protected]>2010-03-22 12:46:05 +0000
commite64038608be28c14ed72b0372529762953de898f (patch)
tree3847da576d4f2e6c542ce6737179a11afcc1a487 /common/argparse.c
parentBuilds again for W32. (diff)
downloadgnupg-e64038608be28c14ed72b0372529762953de898f.tar.gz
gnupg-e64038608be28c14ed72b0372529762953de898f.zip
More chnages to use estream. Add a way to replace the standard
descriptors.
Diffstat (limited to '')
-rw-r--r--common/argparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/argparse.c b/common/argparse.c
index ab88922a4..28b4007b9 100644
--- a/common/argparse.c
+++ b/common/argparse.c
@@ -1131,6 +1131,8 @@ strusage( int level )
return p;
}
+
+/* Set the usage handler. This function is basically a constructor. */
void
set_strusage ( const char *(*f)( int ) )
{