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

Annotation of /shash/src/environ.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Wed Oct 4 22:45:23 2000 UTC (23 years, 5 months ago) by nmav
Branch point for: shash, MAIN
File MIME type: text/plain
Initial revision

1 nmav 1.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