summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso.h
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2000-04-06 14:54:54 +0000
committerGeoff Thorpe <geoff@openssl.org>2000-04-06 14:54:54 +0000
commit51175595b32cf1c32b1c09e644f279a05fbcb2ba (patch)
treef89de1e569ec96033887d689891ab543029d23fe /crypto/dso/dso.h
parenteca57e925a5a318d0880f6edb03532cb1b415ae9 (diff)
Constification, and a silly mistake in the comments.
Diffstat (limited to 'crypto/dso/dso.h')
-rw-r--r--crypto/dso/dso.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/dso/dso.h b/crypto/dso/dso.h
index 5f86eb3ff8..91a44805e3 100644
--- a/crypto/dso/dso.h
+++ b/crypto/dso/dso.h
@@ -72,11 +72,11 @@ typedef struct dso_meth_st
{
const char *name;
/* Loads a shared library */
- int (*dso_load)(DSO *dso, char *filename);
+ int (*dso_load)(DSO *dso, const char *filename);
/* Unloads a shared library */
int (*dso_unload)(DSO *dso);
/* Binds a function, variable, or whatever */
- int (*dso_bind)(DSO *dso, char *symname, void **symptr);
+ int (*dso_bind)(DSO *dso, const char *symname, void **symptr);
/* I don't think this would actually be used in any circumstances. */
#if 0
@@ -120,13 +120,13 @@ DSO_METHOD *DSO_get_method(DSO *dso);
DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth);
/* The all-singing all-dancing load function, you normally pass NULL
- * for the last two parameters. Use DSO_up and DSO_free for reference
- * count handling. */
-DSO *DSO_load(DSO *dso, char *filename, DSO_METHOD *meth);
+ * for the first and third parameters. Use DSO_up and DSO_free for
+ * reference count handling. */
+DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth);
/* This function binds to a function, variable, whatever inside a
* shared library. */
-void *DSO_bind(DSO *dso, char *symname);
+void *DSO_bind(DSO *dso, const char *symname);
/* This method is the default, but will beg, borrow, or steal whatever
* method should be the default on any particular platform (including