Home | History | Annotate | Line # | Download | only in slave
      1  1.7    rillig /*	$NetBSD: slave.h,v 1.7 2021/02/13 08:17:15 rillig Exp $	*/
      2  1.1     blymn 
      3  1.1     blymn /*-
      4  1.1     blymn  * Copyright 2009 Brett Lymn <blymn (at) NetBSD.org>
      5  1.7    rillig  * Copyright 2021 Roland Illig <rillig (at) NetBSD.org>
      6  1.1     blymn  *
      7  1.1     blymn  * All rights reserved.
      8  1.1     blymn  *
      9  1.1     blymn  * This code has been donated to The NetBSD Foundation by the Author.
     10  1.1     blymn  *
     11  1.1     blymn  * Redistribution and use in source and binary forms, with or without
     12  1.1     blymn  * modification, are permitted provided that the following conditions
     13  1.1     blymn  * are met:
     14  1.1     blymn  * 1. Redistributions of source code must retain the above copyright
     15  1.1     blymn  *    notice, this list of conditions and the following disclaimer.
     16  1.1     blymn  * 2. The name of the author may not be used to endorse or promote products
     17  1.5    rillig  *    derived from this software without specific prior written permission
     18  1.1     blymn  *
     19  1.1     blymn  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     20  1.1     blymn  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     21  1.1     blymn  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     22  1.1     blymn  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     23  1.1     blymn  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     24  1.1     blymn  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     25  1.1     blymn  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     26  1.1     blymn  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     27  1.1     blymn  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     28  1.1     blymn  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     29  1.1     blymn  */
     30  1.7    rillig 
     31  1.7    rillig #ifndef CTF_SLAVE_H
     32  1.7    rillig #define CTF_SLAVE_H
     33  1.1     blymn 
     34  1.1     blymn #include <curses.h>
     35  1.1     blymn 
     36  1.6    rillig extern int from_director;
     37  1.6    rillig extern int to_director;
     38  1.1     blymn 
     39  1.1     blymn void command_execute(char *, int, char **);
     40  1.1     blymn void report_count(int);
     41  1.2  christos void report_error(const char *);
     42  1.1     blymn void report_int(int);
     43  1.3     blymn void report_byte(chtype);
     44  1.1     blymn void report_return(int);
     45  1.1     blymn void report_nstr(chtype *);
     46  1.4     blymn void report_cchar(cchar_t);
     47  1.4     blymn void report_wchar(wchar_t);
     48  1.4     blymn void report_wstr(wchar_t *);
     49  1.2  christos void report_status(const char *);
     50  1.1     blymn void report_ptr(void *);
     51  1.1     blymn int  check_arg_count(int, int);
     52  1.1     blymn 
     53  1.1     blymn #endif
     54