components/trousers/patches/include_tspps.h.patch
branchs11-sru
changeset 2391 811524a2620b
parent 259 520697a05dde
equal deleted inserted replaced
2390:5b1bfaf90eeb 2391:811524a2620b
       
     1 --- src/include/tspps.h.old	2009-09-08 07:39:30.000000000 -0700
       
     2 +++ src/include/tspps.h	2010-09-16 08:09:37.980051068 -0700
       
     3 @@ -13,13 +13,17 @@
       
     4  
       
     5  #define PASSWD_BUFSIZE		4096
       
     6  
       
     7 +#ifdef SOLARIS
       
     8 +#define TSS_USER_PS_DIR		"/var/user/"
       
     9 +#else
       
    10  #define TSS_USER_PS_DIR		".trousers"
       
    11 +#endif
       
    12  #define TSS_USER_PS_FILE	"user.data"
       
    13  
       
    14  TSS_RESULT	   get_file(int *);
       
    15  int		   put_file(int);
       
    16 -inline TSS_RESULT  read_data(int, void *, UINT32);
       
    17 -inline TSS_RESULT  write_data(int, void *, UINT32);
       
    18 +TSS_RESULT         read_data(int, void *, UINT32);
       
    19 +TSS_RESULT         write_data(int, void *, UINT32);
       
    20  UINT32		   psfile_get_num_keys(int);
       
    21  TSS_RESULT	   psfile_get_parent_uuid_by_uuid(int, TSS_UUID *, TSS_UUID *);
       
    22  TSS_RESULT	   psfile_remove_key_by_uuid(int, TSS_UUID *);