/usr/include/lo/lo_throw.h is in liblo-dev 0.29-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /*
* Copyright (C) 2014 Steve Harris et al. (see AUTHORS)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* $Id$
*/
#ifndef LO_THROW_H
#define LO_THROW_H
#ifdef __cplusplus
extern "C" {
#endif
void lo_throw(lo_server s, int errnum, const char *message, const char *path);
/*! Since the liblo error handler does not provide a context pointer,
* it can be provided by associating it with a particular server
* through this thread-safe API. */
void *lo_error_get_context();
void lo_server_set_error_context(lo_server s, void *user_data);
#ifdef __cplusplus
}
#endif
#endif
|