home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / utility / name.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  1KB  |  48 lines

  1. #ifndef UTILITY_NAME_H
  2. #define    UTILITY_NAME_H
  3. /*
  4. **    $VER: name.h 39.5 (11.8.93)
  5. **    Includes Release 40.15
  6. **
  7. **    Namespace definitions
  8. **
  9. **    (C) Copyright 1992-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. **/
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20.  
  21. /*****************************************************************************/
  22.  
  23.  
  24. /* The named object structure */
  25. struct NamedObject
  26. {
  27.     APTR no_Object;    /* Your pointer, for whatever you want */
  28. };
  29.  
  30. /* Tags for AllocNamedObject() */
  31. #define    ANO_NameSpace    4000    /* Tag to define namespace    */
  32. #define    ANO_UserSpace    4001    /* tag to define userspace    */
  33. #define    ANO_Priority    4002    /* tag to define priority    */
  34. #define    ANO_Flags    4003    /* tag to define flags        */
  35.  
  36. /* Flags for tag ANO_Flags */
  37. #define    NSB_NODUPS    0
  38. #define    NSB_CASE    1
  39.  
  40. #define    NSF_NODUPS    (1L << NSB_NODUPS)    /* Default allow duplicates */
  41. #define    NSF_CASE    (1L << NSB_CASE)    /* Default to caseless... */
  42.  
  43.  
  44. /*****************************************************************************/
  45.  
  46.  
  47. #endif /* UTILITY_NAME_H */
  48.