mema_test.h revision 2
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1996-1998 by Sun Microsystems, Inc. 2N/A * All rights reserved. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * Test routine return codes. 2N/A * Each test is allowed maximum number of errors and the index has 2N/A * Test functions should use this buffer allocation interface. 2N/A * The test framework will deallocate them on return. 2N/A * Test write: mtest_write(handle, buffer, page_num, line_offset, line_count) 2N/A * A line count of 0 indicates the whole page. 2N/A * A return of 0 indicates success. A return of -1 indicates a failure of 2N/A * the device interface. 2N/A * Message interface. If the upper layer has verbose on, the 2N/A * message will be seen by the user. 2N/A#
endif /* _MEMA_TEST_H */