source: tags/testbuild/SERVERCNTRL/servercntrl.h

Last change on this file was 8246, checked in by westram, 12 years ago
  • eliminated several main()'s from lib/obj-code
    • replaced by ARB_main
    • link executable with wrapper-object (main→ARB_main)
  • unit-tests now use their own main()
    • this ensures that all static data is initialized when the unit-test starts (previous behavior was working, but undefined)
    • all tests pass (versus [8243])
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1010 bytes
Line 
1/* This file is generated by aisc_mkpt.
2 * Any changes you make here will be overwritten later!
3 */
4
5#ifndef SERVERCNTRL_H
6#define SERVERCNTRL_H
7
8
9/* servercntrl.cxx */
10
11#ifndef ARBDB_BASE_H
12#include <arbdb_base.h>
13#endif
14
15struct arb_params {
16    char *species_name;
17    char *extended_name;
18    char *alignment;
19    char *default_file;
20    char *field;
21    const char *field_default;
22
23    int  read_only;
24
25    char *job_server;
26    char *db_server;
27    char *mgr_server;
28    char *pt_server;
29
30    char *tcp;
31};
32
33char *prefixSSH(const char *host, const char *command, int async);
34GB_ERROR arb_start_server(const char *arb_tcp_env, int do_sleep);
35GB_ERROR arb_look_and_start_server(long magic_number, const char *arb_tcp_env);
36GB_ERROR arb_look_and_kill_server(int magic_number, const char *arb_tcp_env);
37void arb_print_server_params(void);
38arb_params *arb_trace_argv(int *argc, const char **argv);
39void free_arb_params(arb_params *params);
40
41#else
42#error servercntrl.h included twice
43#endif /* SERVERCNTRL_H */
Note: See TracBrowser for help on using the repository browser.