diff options
author | marha <marha@users.sourceforge.net> | 2012-06-08 09:33:13 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-08 09:33:13 +0200 |
commit | 990bc3f015a4f8fce2eb918375defcd44980a845 (patch) | |
tree | 8e8301f19482b52cc00bd95b4593522cc93267af /xorg-server/include/xsha1.h | |
parent | 1af6fc1b5d93e54d6674de8b5870448b29f139a7 (diff) | |
download | vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.tar.gz vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.tar.bz2 vcxsrv-990bc3f015a4f8fce2eb918375defcd44980a845.zip |
Used synchronise script to update files
Diffstat (limited to 'xorg-server/include/xsha1.h')
-rw-r--r-- | xorg-server/include/xsha1.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/xorg-server/include/xsha1.h b/xorg-server/include/xsha1.h index aab71067a..89e6f5f0b 100644 --- a/xorg-server/include/xsha1.h +++ b/xorg-server/include/xsha1.h @@ -1,19 +1,19 @@ -#ifndef XSHA1_H -#define XSHA1_H - -/* Initialize SHA1 computation. Returns NULL on error. */ -void *x_sha1_init(void); - -/* - * Add some data to be hashed. ctx is the value returned by x_sha1_init() - * Returns 0 on error, 1 on success. - */ -int x_sha1_update(void *ctx, void *data, int size); - -/* - * Place the hash in result, and free ctx. - * Returns 0 on error, 1 on success. - */ -int x_sha1_final(void *ctx, unsigned char result[20]); - -#endif +#ifndef XSHA1_H
+#define XSHA1_H
+
+/* Initialize SHA1 computation. Returns NULL on error. */
+void *x_sha1_init(void);
+
+/*
+ * Add some data to be hashed. ctx is the value returned by x_sha1_init()
+ * Returns 0 on error, 1 on success.
+ */
+int x_sha1_update(void *ctx, void *data, int size);
+
+/*
+ * Place the hash in result, and free ctx.
+ * Returns 0 on error, 1 on success.
+ */
+int x_sha1_final(void *ctx, unsigned char result[20]);
+
+#endif
|