aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/src/tools/ipc.h
blob: 6c564be5ea3520eb8c32d6c005344402cfaa05f2 (plain) (tree)
1
2
3
4
5
6
7

                                      
                                                                                     
   
 

             




                    


                                                                 
 
      
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
 */

#ifndef IPC_H
#define IPC_H

#include <stdbool.h>

struct wgdevice;

int ipc_set_device(struct wgdevice *dev);
int ipc_get_device(struct wgdevice **dev, const char *interface);
char *ipc_list_devices(void);

#endif