linkm.h 552 B

1234567891011121314151617181920212223242526272829
  1. #ifndef GRASS_LINKMDEFS_H
  2. #define GRASS_LINKMDEFS_H
  3. /* destroy.c */
  4. void link_destroy(struct link_head *, VOID_T *);
  5. /* dispose.c */
  6. void link_dispose(struct link_head *, VOID_T *);
  7. /* init.c */
  8. void link_set_chunk_size(int);
  9. void link_exit_on_error(int);
  10. struct link_head *link_init(int);
  11. void link_cleanup(struct link_head *);
  12. /* new.c */
  13. VOID_T *link_new(struct link_head *);
  14. /* for internal use only */
  15. /* next.c */
  16. VOID_T *link__get_next(VOID_T *);
  17. void link__set_next(VOID_T *, VOID_T *);
  18. /* oom.c */
  19. int link_out_of_memory(void);
  20. #endif