wireplumber/lib/wpipc/defs.h
Julian Bouzas 795df4b693 lib: add wpipc library
Simple library that uses sockets for inter-process communication. It provides an
API to create server and client objects. Users can add custom handlers in the
server, and clients can send requests for those custom handlers.
2021-05-04 18:55:10 -04:00

26 lines
523 B
C

/* WirePlumber
*
* Copyright © 2021 Collabora Ltd.
* @author Julian Bouzas <julian.bouzas@collabora.com>
*
* SPDX-License-Identifier: MIT
*/
#ifndef __WPIPC_DEFS_H__
#define __WPIPC_DEFS_H__
#if defined(__GNUC__)
# define WPIPC_API_EXPORT extern __attribute__ ((visibility ("default")))
#else
# define WPIPC_API_EXPORT extern
#endif
#ifndef WPIPC_API
# define WPIPC_API WPIPC_API_EXPORT
#endif
#ifndef WPIPC_PRIVATE_API
# define WPIPC_PRIVATE_API __attribute__ ((deprecated ("Private API")))
#endif
#endif