libgeom.h (4b8938c1d5c3d77402e85ec9017773bd52aa6dbb) | libgeom.h (63728c47e848c8068ddab1526fad9c5384696354) |
---|---|
1/*- 2 * Copyright (c) 2003 Poul-Henning Kamp 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 115 unchanged lines hidden (view full) --- 124 125struct gident * geom_lookupid(struct gmesh *gmp, const void *id); 126int geom_xml2tree(struct gmesh *gmp, char *p); 127int geom_gettree(struct gmesh *gmp); 128void geom_deletetree(struct gmesh *gmp); 129 130/* geom_ctl.c */ 131 | 1/*- 2 * Copyright (c) 2003 Poul-Henning Kamp 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 115 unchanged lines hidden (view full) --- 124 125struct gident * geom_lookupid(struct gmesh *gmp, const void *id); 126int geom_xml2tree(struct gmesh *gmp, char *p); 127int geom_gettree(struct gmesh *gmp); 128void geom_deletetree(struct gmesh *gmp); 129 130/* geom_ctl.c */ 131 |
132struct geom_ctl_req; | 132struct gctl_req; |
133 134#ifdef _STDIO_H_ /* limit #include pollution */ | 133 134#ifdef _STDIO_H_ /* limit #include pollution */ |
135void geom_ctl_dump(struct geom_ctl_req *req, FILE *f); | 135void gctl_dump(struct gctl_req *req, FILE *f); |
136#endif | 136#endif |
137void geom_ctl_free(struct geom_ctl_req *req); 138struct geom_ctl_req *geom_ctl_get_handle(enum geom_ctl_request req); 139const char *geom_ctl_issue(struct geom_ctl_req *req); 140void geom_ctl_set_class_by_id(struct geom_ctl_req *req, void *id); 141void geom_ctl_set_class_by_name(struct geom_ctl_req *req, const char *name); 142void geom_ctl_set_consumer_by_id(struct geom_ctl_req *req, void *id); 143void geom_ctl_set_consumer_by_name(struct geom_ctl_req *req, const char *name); 144void geom_ctl_set_geom_by_id(struct geom_ctl_req *req, void *id); 145void geom_ctl_set_geom_by_name(struct geom_ctl_req *req, const char *name); 146void geom_ctl_set_meta(struct geom_ctl_req *req, off_t offset, u_int len, void* val); 147void geom_ctl_set_param(struct geom_ctl_req *req, const char *name, int len, void* val); 148void geom_ctl_set_provider_by_id(struct geom_ctl_req *req, void *id); 149void geom_ctl_set_provider_by_name(struct geom_ctl_req *req, const char *name); | 137void gctl_free(struct gctl_req *req); 138struct gctl_req *gctl_get_handle(enum gctl_request req); 139const char *gctl_issue(struct gctl_req *req); 140void gctl_ro_meta(struct gctl_req *req, off_t offset, u_int len, const void* val); 141void gctl_rw_meta(struct gctl_req *req, off_t offset, u_int len, void* val); 142void gctl_ro_param(struct gctl_req *req, const char *name, int len, const void* val); 143void gctl_rw_param(struct gctl_req *req, const char *name, int len, void* val); |
150 151#endif /* _LIBGEOM_H_ */ | 144 145#endif /* _LIBGEOM_H_ */ |