rename awclient.[ch] to socket.[ch]
This commit is contained in:
parent
6fd3801ef0
commit
11b0982a58
|
@ -129,12 +129,11 @@ awesome_SOURCES = \
|
||||||
window.c window.h \
|
window.c window.h \
|
||||||
rules.c rules.h \
|
rules.c rules.h \
|
||||||
mouse.c mouse.h \
|
mouse.c mouse.h \
|
||||||
common/awclient.c \
|
common/socket.c common/socket.h \
|
||||||
common/swindow.c common/swindow.h \
|
common/swindow.c common/swindow.h \
|
||||||
widget.c widget.h \
|
widget.c widget.h \
|
||||||
ewmh.c ewmh.h \
|
ewmh.c ewmh.h \
|
||||||
common/list.h structs.h \
|
common/list.h structs.h \
|
||||||
common/awclient.h \
|
|
||||||
common/configopts.h common/configopts.c
|
common/configopts.h common/configopts.c
|
||||||
awesome_SOURCES += $(LAYOUTS)
|
awesome_SOURCES += $(LAYOUTS)
|
||||||
awesome_SOURCES += $(WIDGETS)
|
awesome_SOURCES += $(WIDGETS)
|
||||||
|
@ -142,9 +141,9 @@ awesome_LDADD = $(XFT_LIBS) $(X_LIBS) $(CAIRO_LIBS) $(CONFUSE_LIBS) $(XRANDR_LIB
|
||||||
|
|
||||||
bin_PROGRAMS += awesome-client
|
bin_PROGRAMS += awesome-client
|
||||||
awesome_client_SOURCES = \
|
awesome_client_SOURCES = \
|
||||||
awesome-client.c common/awclient.h \
|
awesome-client.c \
|
||||||
|
common/socket.c common/socket.h \
|
||||||
common/version.c common/version.h \
|
common/version.c common/version.h \
|
||||||
common/awclient.c \
|
|
||||||
common/util.c common/util.h
|
common/util.c common/util.h
|
||||||
|
|
||||||
bin_PROGRAMS += awesome-message
|
bin_PROGRAMS += awesome-message
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|
||||||
#include "common/awclient.h"
|
#include "common/socket.h"
|
||||||
#include "common/version.h"
|
#include "common/version.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
#include "focus.h"
|
#include "focus.h"
|
||||||
#include "ewmh.h"
|
#include "ewmh.h"
|
||||||
#include "tag.h"
|
#include "tag.h"
|
||||||
#include "common/awclient.h"
|
#include "common/socket.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "common/version.h"
|
#include "common/version.h"
|
||||||
#include "common/configopts.h"
|
#include "common/configopts.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* awclient.c - awesome client, communicate with socket, common functions
|
* socket.c - awesome client, communicate with socket, common functions
|
||||||
*
|
*
|
||||||
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
|
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
|
||||||
* Copyright © 2007 daniel@brinkers.de
|
* Copyright © 2007 daniel@brinkers.de
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
|
||||||
#include "common/awclient.h"
|
#include "common/socket.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
|
|
||||||
#define CONTROL_UNIX_SOCKET_PATH ".awesome_ctl."
|
#define CONTROL_UNIX_SOCKET_PATH ".awesome_ctl."
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* awclient.h - awesome client header
|
* socket.h - awesome socket client header
|
||||||
*
|
*
|
||||||
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
|
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
|
||||||
*
|
*
|
||||||
|
@ -19,8 +19,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AWESOME_COMMON_AWCLIENT_H
|
#ifndef AWESOME_COMMON_SOCKET_H
|
||||||
#define AWESOME_COMMON_AWCLIENT_H
|
#define AWESOME_COMMON_SOCKET_H
|
||||||
|
|
||||||
struct sockaddr_un * get_client_addr(const char *);
|
struct sockaddr_un * get_client_addr(const char *);
|
||||||
int get_client_socket(void);
|
int get_client_socket(void);
|
Loading…
Reference in New Issue