X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetwork.h;h=777616c4725cc75ddb13f9844e5c833aa81e7e35;hb=a9fa8d97fe0eaa49ea1c5e7a1ca031dd03a84f5f;hp=5f2bc21226f65a10709459974edbd28b0617e097;hpb=634504760b46b852ec2b812a7b68277e9c005f1b;p=collectd.git diff --git a/src/network.h b/src/network.h index 5f2bc212..777616c4 100644 --- a/src/network.h +++ b/src/network.h @@ -1,6 +1,6 @@ /** * collectd - src/network.h - * Copyright (C) 2005,2006 Florian octo Forster + * Copyright (C) 2005-2008 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -55,10 +55,19 @@ #define NET_DEFAULT_PORT "25826" #define TYPE_HOST 0x0000 -#define TYPE_PLUGIN 0x0001 -#define TYPE_PLUGIN_INSTANCE 0x0002 -#define TYPE_TYPE 0x0003 -#define TYPE_TYPE_INSTANCE 0x0004 -#define TYPE_VALUES 0x0005 +#define TYPE_TIME 0x0001 +#define TYPE_PLUGIN 0x0002 +#define TYPE_PLUGIN_INSTANCE 0x0003 +#define TYPE_TYPE 0x0004 +#define TYPE_TYPE_INSTANCE 0x0005 +#define TYPE_VALUES 0x0006 +#define TYPE_INTERVAL 0x0007 + +/* Types to transmit notifications */ +#define TYPE_MESSAGE 0x0100 +#define TYPE_SEVERITY 0x0101 + +#define TYPE_SIGN_SHA256 0x0200 +#define TYPE_ENCR_AES256 0x0210 #endif /* NETWORK_H */