4 * Public header file for the test driver.
8 * Copyright (C) 2001-2006 Kern Sibbald
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of version 2 of the GNU General
12 * Public License as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
28 /*********************************************************************/
29 /* Function ProtoTypes */
30 /*********************************************************************/
32 extern int test_ups_get_capabilities(UPSINFO
*ups
);
33 extern int test_ups_read_volatile_data(UPSINFO
*ups
);
34 extern int test_ups_read_static_data(UPSINFO
*ups
);
35 extern int test_ups_kill_power(UPSINFO
*ups
);
36 extern int test_ups_check_state(UPSINFO
*ups
);
37 extern int test_ups_open(UPSINFO
*ups
);
38 extern int test_ups_close(UPSINFO
*ups
);
39 extern int test_ups_setup(UPSINFO
*ups
);
40 extern int test_ups_program_eeprom(UPSINFO
*ups
, int command
, const char *data
);
41 extern int test_ups_entry_point(UPSINFO
*ups
, int command
, void *data
);
43 #endif /* _TEST_DRIVER_H */