]> git.proxmox.com Git - pve-cluster.git/commit
use constants for IPC request types
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 May 2018 10:37:25 +0000 (12:37 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 23 May 2018 09:38:23 +0000 (11:38 +0200)
commit95c44445b127e0859cb78031541d4b074ce83c03
treefcbddb1ce795d47eb666eeea88b9397a82d5b692
parent18b311d08ea05ba0aa5068109833f41b34d33049
use constants for IPC request types

Add a simple header with the constants as defines.
Use a simple awk script to translate this to an perl module with the
constants exported. awk is far easier to understand and maintain than
h2ph or h2xs, also their result is quite a mess for such a trivial
thing, IMO.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/Cluster.pm
data/PVE/Cluster/IPCConst.pm.awk [new file with mode: 0644]
data/PVE/Makefile.am
data/src/cfs-ipc-ops.h [new file with mode: 0644]
data/src/server.c