libfstyp.c revision 2
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include <libnvpair.h>
2N/A#include <libfstyp.h>
2N/A#include <libfstyp_module.h>
2N/A#ifndef TEXT_DOMAIN
2N/Atypedef struct fstyp_module {
2N/Astruct fstyp_handle {
2N/A fstyp_module_t *);
2N/A struct fstyp_handle *h;
2N/A return (FSTYP_ERR_NOMEM);
2N/A return (FSTYP_ERR_NOMEM);
2N/A fstyp_fini(h);
2N/A return (fstyp_ident_all(h, ident));
2N/A return (FSTYP_ERR_MULT_MATCH);
2N/A return (FSTYP_ERR_NO_MATCH);
2N/A return (FSTYP_ERR_NO_MATCH);
2N/A return (FSTYP_ERR_NAME_TOO_LONG);
2N/A return (FSTYP_ERR_MOD_NOT_FOUND);
2N/A return (FSTYP_ERR_NO_MATCH);
2N/A return (FSTYP_ERR_NO_MATCH);
2N/A return (FSTYP_ERR_NOP);
2N/A case FSTYP_ERR_OK:
2N/A case FSTYP_ERR_NO_MATCH:
2N/A case FSTYP_ERR_MULT_MATCH:
2N/A case FSTYP_ERR_HANDLE:
2N/A case FSTYP_ERR_OFFSET:
2N/A case FSTYP_ERR_NO_PARTITION:
2N/A case FSTYP_ERR_NOP:
2N/A case FSTYP_ERR_DEV_OPEN:
2N/A case FSTYP_ERR_IO:
2N/A case FSTYP_ERR_NOMEM:
2N/A case FSTYP_ERR_MOD_NOT_FOUND:
2N/A case FSTYP_ERR_MOD_DIR_OPEN:
2N/A case FSTYP_ERR_MOD_OPEN:
2N/A case FSTYP_ERR_MOD_VERSION:
2N/A case FSTYP_ERR_MOD_INVALID:
2N/A case FSTYP_ERR_NAME_TOO_LONG:
2N/Astatic fstyp_module_t *
2N/A return (FSTYP_ERR_NOMEM);
2N/A return (FSTYP_ERR_MOD_NOT_FOUND);
2N/A return (FSTYP_ERR_NOMEM);
2N/A return (FSTYP_ERR_NOMEM);
2N/A return (FSTYP_ERR_NOMEM);
2N/A return (FSTYP_ERR_MOD_DIR_OPEN);
2N/A return (FSTYP_ERR_MOD_OPEN);
2N/A return (FSTYP_ERR_MOD_INVALID);