Greenbone Vulnerability Manager  21.4.4
manage_authentication.h
1 #ifndef _GVMD_MANAGE_AUTHENTICATION_H
2 #define _GVMD_MANAGE_AUTHENTICATION_H
3 
4 
5 enum manage_authentication_rc
6 {
7  GMA_SUCCESS,
8  GMA_HASH_VALID_BUT_DATED,
9  GMA_HASH_INVALID,
10  GMA_ERR,
11 };
12 
13 enum manage_authentication_rc
14 manage_authentication_setup (const char *pepper, unsigned int pepper_size,
15  unsigned int count, char *prefix);
16 char *
17 manage_authentication_hash (const char *password);
18 
19 enum manage_authentication_rc
20 manage_authentication_verify (const char *hash, const char *password);
21 
22 #endif
23 
int count(const char *type, const get_data_t *get, column_t *select_columns, column_t *trash_select_columns, const char **filter_columns, int distinct, const char *extra_tables, const char *extra_where, int owned)
Count number of a particular resource.
Definition: manage_sql.c:5802