Commit Graph

23 Commits

Author SHA1 Message Date
Andreas Steffen 78ec8c6085 unused os_info_t object removed 2014-08-06 07:55:54 +02:00
Martin Willi 9bac2c9e40 libimcv: Port os_info (partially) to Windows 2014-06-04 15:53:06 +02:00
Andreas Steffen 4894bfa227 Separated IMV session management from IMV policy database 2014-04-15 09:21:05 +02:00
Tobias Brunner 1ec3476398 libimcv: Move settings to <ns>.imcv and <ns>.plugins with fallback 2014-02-12 14:34:34 +01:00
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