prop.h File Reference

Go to the source code of this file.

Data Structures

struct  t_sys_prop_store_args
struct  t_sys_prop_fetch_args

Defines

#define __SYSINTERF_PROP_H__   1
#define SYSPROP_STORE   1
#define SYSPROP_FETCH   2
#define SYSPROP_UPDATE   3
#define SYSPROP_DELETE   4
#define SYSPROP_ATTACH   5
#define SYSPROP_DETACH   6
#define SYSPROP_DUMP   10
#define PROPKTYPE_UNDEF   0
#define PROPKTYPE_RESID   1
#define PROPKTYPE_STRING   2
#define PROPSTORE_GENKEY   (1<<0u)
#define PROPSTORE_PERMANENT   (1<<1u)
#define PROPSTORE_SHARED_SECTION   (1<<2u)
#define PROPTRUST_ROOT   (1<<0u)
#define PROPTRUST_ME   (1<<1u)
#define PROPTRUST_ANY   (1<<2u)

Functions

int prop_store (int ktype, const char *kbuf, int klen, const char *vbuf, int vlen, u_int32_t opts, mode_t perm)
int prop_update (int ktype, const char *kbuf, int klen, u_int32_t prop_trust, const char *vbuf)
int prop_fetch (int ktype, const char *kbuf, int klen, u_int32_t prop_trust, char *vbuf, int *refcnt)
int prop_delete (int ktype, const char *kbuf, int klen)
int prop_attach (pid_t pid, int ktype, const char *kbuf, int klen)
int prop_detach (pid_t pid, int ktype, const char *kbuf, int klen)
int prop_dump (void)


Define Documentation

#define __SYSINTERF_PROP_H__   1
 

#define PROPKTYPE_RESID   1
 

64 bits ressource id

#define PROPKTYPE_STRING   2
 

must be terminated by 0

#define PROPKTYPE_UNDEF   0
 

#define PROPSTORE_GENKEY   (1<<0u)
 

generate me a key

#define PROPSTORE_PERMANENT   (1<<1u)
 

prop zont be destroyed when holder dies

#define PROPSTORE_SHARED_SECTION   (1<<2u)
 

used by load_exec(3)

#define PROPTRUST_ANY   (1<<2u)
 

trust anybody

#define PROPTRUST_ME   (1<<1u)
 

trust me

#define PROPTRUST_ROOT   (1<<0u)
 

trust root

#define SYSPROP_ATTACH   5
 

#define SYSPROP_DELETE   4
 

#define SYSPROP_DETACH   6
 

#define SYSPROP_DUMP   10
 

#define SYSPROP_FETCH   2
 

#define SYSPROP_STORE   1
 

#define SYSPROP_UPDATE   3
 


Function Documentation

int prop_attach pid_t  pid,
int  ktype,
const char *  kbuf,
int  klen
 

int prop_delete int  ktype,
const char *  kbuf,
int  klen
 

int prop_detach pid_t  pid,
int  ktype,
const char *  kbuf,
int  klen
 

int prop_dump void   ) 
 

int prop_fetch int  ktype,
const char *  kbuf,
int  klen,
u_int32_t  prop_trust,
char *  vbuf,
int *  refcnt
 

int prop_store int  ktype,
const char *  kbuf,
int  klen,
const char *  vbuf,
int  vlen,
u_int32_t  opts,
mode_t  perm
 

int prop_update int  ktype,
const char *  kbuf,
int  klen,
u_int32_t  prop_trust,
const char *  vbuf
 


Generated on Wed May 24 23:05:58 2006 for LSE/OS by  doxygen 1.4.6