Commit Graph

19 Commits

Author SHA1 Message Date
Tobias Brunner d27f225d9a Use strpfx() helper where appropriate 2013-07-08 18:49:30 +02:00
Tobias Brunner 98063d8187 Don't use a time_t variable with fscanf when parsing uptime
Because "%u" is used as format string in the fscanf call that parses the
uptime and because the length of time_t varies on different platforms
and architectures the value was not written properly if time_t was longer
than an unsigned int and depending on how the target variable was aligned
on the stack.  Since there is no conversion specifier to properly parse a
time_t value we use the appropriate integer type instead.
2013-02-08 11:33:13 +01:00
Tobias Brunner 39896d92ed Try to determine OS type if name and version are configured 2013-01-24 19:13:41 +01:00
Tobias Brunner 24cdf5340e Add missing va_end() call 2013-01-24 19:13:41 +01:00
Andreas Steffen 965fce31c3 newer releases of dpkg-query does not have PackageSpec 2012-12-09 13:55:22 +01:00
Martin Willi 55b323c224 Check os_version when reading release file, os_name is not set for Debian 2012-11-30 15:48:39 +01:00
Andreas Steffen a95959cce6 implemented blacklisting of software packages 2012-11-14 11:38:45 +01:00
Andreas Steffen 538c13fe5c use OS type on IMV side 2012-11-07 13:40:52 +01:00
Andreas Steffen d78c869cff eliminate deinstalled packages 2012-11-05 21:40:19 +01:00
Andreas Steffen 68cf283cd3 Define and use an OS enumeration type 2012-11-05 14:48:43 +01:00
Andreas Steffen 3b057d66cf enumerate over installed Debian/Ubuntu packages 2012-11-04 23:54:36 +01:00
Andreas Steffen 8128f255f4 check if setting exists 2012-11-01 19:26:29 +01:00
Andreas Steffen efe0d5478f implemented ITA Get Settings and ITA Settings attributes 2012-11-01 18:00:40 +01:00
Tobias Brunner f05b427265 Moved debug.[ch] to utils folder 2012-10-24 16:00:51 +02:00
Tobias Brunner 12642a6831 Moved data structures to new collections subfolder 2012-10-24 16:00:49 +02:00
Andreas Steffen a9c9414d58 implemented IETF Numeric Version attribute 2012-10-18 22:33:26 +02:00
Andreas Steffen 07a3dee937 implemented IETF Operational Status attribute 2012-10-13 20:34:50 +02:00
Andreas Steffen ca1a64742f implemented the Forwarding Enabled attribute 2012-10-12 09:49:44 +02:00
Andreas Steffen 6ab1502519 implemented os_info_t class 2012-10-10 21:54:21 +02:00