X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=ipstruct.h;h=17635ffaab56c102c38c19fdd8f7b2ecb77ce905;hp=f8d09e5501fabc6521e20510e698ab9e96fcdee7;hb=HEAD;hpb=3430e838dc632523c571a995d75ace44de1b06b6 diff --git a/ipstruct.h b/ipstruct.h index f8d09e5..17635ff 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -1,4 +1,6 @@ -/* Modified by: xChaos, 20131029 */ +/* Modified by: xChaos, 20200104 */ + +#define MONITORINGTRHU_CTU struct IP { @@ -13,7 +15,7 @@ struct IP int aggregated; int fixedprio; int group; - int lmsid; + char *code; int pps_limit; unsigned long long direct; unsigned long long proxy; @@ -26,6 +28,10 @@ struct IP unsigned long pktsup; unsigned long pktsdown; struct Keyword *keyword; +#ifdef MONITORINGTRHU_CTU + char *technology_str; + char *ruian_id_str; +#endif int v6; int mask; struct IP *uplink; @@ -79,13 +85,6 @@ struct QosFreeInterface list(QosFreeInterface); }; -struct Textfile -{ - char *str; - int _eoln; - list(Textfile); -}; - struct Index { char *addr; @@ -109,3 +108,13 @@ struct Interface void TheIP(char *ipaddr, int is_network); /* function implemented in parsehosts.c */ + +#ifdef MONITORINGTRHU_CTU +struct Technology +{ + char *filename; + list(Technology); +}; + +extern struct Technology *technologies, *technology; +#endif