1 /* 2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the OpenBeOS License. 4 */ 5 #ifndef _KERNEL_IMAGE_H 6 #define _KERNEL_IMAGE_H 7 8 9 #include <image.h> 10 11 12 struct team; 13 14 extern image_id register_image(team_id team, image_info *info, size_t size); 15 extern status_t unregister_image(team_id team, image_id id); 16 extern int32 count_images(struct team *team); 17 extern status_t remove_images(struct team *team); 18 19 // user-space exported calls 20 extern status_t user_unregister_image(image_id id); 21 extern image_id user_register_image(image_info *userInfo, size_t size); 22 extern status_t user_get_next_image_info(team_id team, int32 *_cookie, 23 image_info *userInfo, size_t size); 24 extern status_t user_get_image_info(image_id id, image_info *userInfo, size_t size); 25 26 #endif /* _KRENEL_IMAGE_H */ 27