home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / os-include / utility / name.h < prev    next >
C/C++ Source or Header  |  1992-09-24  |  960b  |  37 lines

  1. #ifndef UTILITY_NAME_H
  2. #define    UTILITY_NAME_H
  3. /*
  4. **    $VER: name.h 39.3 (04.09.92)
  5. **    Includes Release 39.108
  6. **
  7. **    Namespace definitions
  8. **
  9. **    (C) Copyright 1992 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. **/
  12.  
  13. #include    <exec/types.h>
  14.  
  15. /* The named object structure */
  16. /* Note how simple this structure is!  You have nothing else that is */
  17. /* defined.  Remember that...  Do not hack at the namespaces!!! */
  18. struct NamedObject
  19. {
  20.     VOID    *no_Object;    /* Your pointer, for whatever you want */
  21. };
  22.  
  23. /* Tags for AllocNamedObjectTags */
  24. #define    ANO_NameSpace    4000    /* Tag to define namespace    */
  25. #define    ANO_UserSpace    4001    /* tag to define userspace    */
  26. #define    ANO_Priority    4002    /* tag to define priority    */
  27. #define    ANO_Flags    4003    /* tag to define flags        */
  28.  
  29. /* Flags for tag ANO_FLAGS */
  30. #define    NSB_NODUPS    0
  31. #define    NSB_CASE    1
  32.  
  33. #define    NSF_NODUPS    (1L << NSB_NODUPS)    /* Default allow duplicates */
  34. #define    NSF_CASE    (1L << NSB_CASE)    /* Default to caseless... */
  35.  
  36. #endif
  37.