summaryrefslogtreecommitdiffstats
path: root/baseline/source/rijndael_enc/rijndael_enc_libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/source/rijndael_enc/rijndael_enc_libc.h')
-rw-r--r--baseline/source/rijndael_enc/rijndael_enc_libc.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/baseline/source/rijndael_enc/rijndael_enc_libc.h b/baseline/source/rijndael_enc/rijndael_enc_libc.h
new file mode 100644
index 0000000..6a01397
--- /dev/null
+++ b/baseline/source/rijndael_enc/rijndael_enc_libc.h
@@ -0,0 +1,24 @@
1#ifndef RIJNDAEL_ENC_LIBC_H
2#define RIJNDAEL_ENC_LIBC_H
3
4int rijndael_enc_toupper ( int c );
5
6enum _Origin_ { RIJNDAEL_ENC_SEEK_SET, RIJNDAEL_ENC_SEEK_CUR, RIJNDAEL_ENC_SEEK_END };
7typedef enum _Origin_ Origin;
8struct rijndael_enc_FILE {
9 unsigned char *data;
10 unsigned long size;
11 unsigned cur_pos;
12};
13
14unsigned long rijndael_enc_fread ( void *ptr, unsigned long size,
15 unsigned long count, struct rijndael_enc_FILE *stream );
16unsigned long rijndael_enc_fwrite ( const void *ptr, unsigned long size,
17 unsigned long count, struct rijndael_enc_FILE *stream );
18int rijndael_enc_fseek ( struct rijndael_enc_FILE *stream, long int offset,
19 Origin origin );
20int rijndael_enc_fgetpos( struct rijndael_enc_FILE *stream,
21 unsigned *position );
22int rijndael_enc_feof ( struct rijndael_enc_FILE *stream );
23
24#endif // RIJNDAEL_ENC_LIBC_H