Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
997 B

  1. #ifndef H__secinfo
  2. #define H__secinfo
  3. #include "netbasic.h"
  4. typedef struct TAGsi {
  5. struct TAGsi FAR *prev;
  6. struct TAGsi FAR *next;
  7. char fromNode[ MAX_NODE_NAME+1 ];
  8. char fromApp[ 256 ];
  9. int pr;
  10. int pw;
  11. int pe;
  12. int ps;
  13. char toApp[ 256 ];
  14. char toTopic[ 256 ];
  15. char cmd[ 256 ];
  16. } SECINFO;
  17. typedef SECINFO FAR *LPSECINFO;
  18. /*** this routine loads the initial security info ***/
  19. BOOL FAR PASCAL SecInfoLoad( void );
  20. /*** the following 3 routines are used to gather the current list
  21. ***/
  22. VOID FAR PASCAL SecInfoRewind( void );
  23. LPSECINFO FAR PASCAL SecInfoNext( void );
  24. VOID FAR PASCAL SecInfoDone( void );
  25. /*** SecInfoReplaceList() saves this new list to disk, replaces the
  26. current list with the new one and frees the memory for the
  27. old one
  28. ***/
  29. BOOL FAR PASCAL SecInfoReplaceList( LPSECINFO lpSecInfoNewList );
  30. LPSECINFO FAR PASCAL SecInfoCreate( void );
  31. VOID FAR PASCAL SecInfoSetDefault( LPSECINFO lpSecInfo );
  32. #endif