File: client.h

package info (click to toggle)
cvm 0.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 492 kB
  • ctags: 215
  • sloc: ansic: 1,777; makefile: 48; sh: 12
file content (20 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef CVM__CLIENT__H__
#define CVM__CLIENT__H__

#include "facts.h"
#include "errors.h"

#define CVM_PROTOCOL 1

extern const char* cvm_account_split_chars;
extern const char* cvm_ucspi_domain(void);
extern int cvm_authenticate(const char* module, const char* account,
			    const char* domain, const char** credentials,
			    int parse_account);
extern int cvm_fact_str(int number, const char** data);
extern int cvm_fact_uint(int number, unsigned long* data);

extern int cvm_setugid(void);
extern int cvm_setenv(void);

#endif