/[mcrypt]/shash/src/environ.c
ViewVC logotype

Contents of /shash/src/environ.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Wed Oct 4 22:45:23 2000 UTC (23 years, 6 months ago) by nmav
Branch: shash, MAIN
CVS Tags: start, shash_0_2_6, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Included shash into the cvs

1 #ifndef DEFINES_H
2 #define DEFINES_H
3 #include <defines.h>
4 #endif
5 #include "environ.h"
6
7 int check_env()
8 {
9
10 if (getenv(SHASH_KEY) != NULL
11 || getenv(SHASH_KEYMODE) != NULL)
12 return TRUE; /* ok */
13 return FALSE;
14
15 }
16
17 char *
18 get_env_key()
19 {
20
21 if (getenv(SHASH_KEY) != NULL) {
22 return getenv(SHASH_KEY);
23 } else {
24 return NULL;
25 }
26
27 }
28
29 char *get_env_bit_mode()
30 {
31
32 return getenv(SHASH_KEYMODE);
33
34 }

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26