linkm.h 533 B

123456789101112131415161718192021222324252627
  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. struct link_head *link_new(struct link_head *);
  14. /* next.c */
  15. VOID_T *link__get_next(VOID_T *);
  16. void link__set_next(VOID_T *, VOID_T *);
  17. /* oom.c */
  18. int link_out_of_memory(void);
  19. #endif