History log of /sssd/src/tools/common/sss_tools.h
Revision Date Author Comments Expand
cbee11e912bb391ba254b0bac8c1159c1f634533 27-Oct-2016 Michal Židek <mzidek@redhat.com>

sssctl: Flags for command initialization Allow passing flags for command specific initialization. Currently only one flag is available to skip the confdb initialization which is required to improve config-check command. Resolves: https://fedorahosted.org/sssd/ticket/3209 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

1472e41692cfc47bf2be14756ce692e52a0ec744 05-Aug-2016 Michal Židek <mzidek@redhat.com>

tools: Add missing gettext macro The message in SSS_TOOL_DELIMITER should be translated. Reviewed-by: Petr Čech <pcech@redhat.com>

488b455f6b7881ec108a127840b1c1f1523d937f 05-Aug-2016 Michal Židek <mzidek@redhat.com>

sssctl: Consistent commands naming Use TOPIC-ACTION pattern for sssctl command names. Resolves: https://fedorahosted.org/sssd/ticket/3087 Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

a0b824ac01c6b58fe6055d48aa6e29e94219646d 07-Jul-2016 Jakub Hrozek <jhrozek@redhat.com>

TOOLS: Some tools command might not need initialization to succeed Since we want to use the sssctl tool during upgrade, we need to amend the tools initialization code to not error out if sysdb can't be instantiated, but rather return errno and let the tool handle the error. Each tool command now has a 'allowed errno' the command is able to handle. In this patch iteration, only a single errno can be handled and only the upgrade command is able to do so. Reviewed-by: Sumit Bose <sbose@redhat.com>

e98ccef2609811186711b79d8ef5d0a4450ab6e0 27-Jun-2016 Pavel Březina <pbrezina@redhat.com>

sss_tools: return errno_t instead of system code Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

b03ccb2764a4ccdadb77599cb624b6a17b633438 27-Jun-2016 Pavel Březina <pbrezina@redhat.com>

sss_tools: add commands delimiter Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

3bc651a611a3e5be508875f3ae58bfb5ece2525c 27-Jun-2016 Pavel Březina <pbrezina@redhat.com>

sss_tools: tell whether an option was provided Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

cf3ba77997dfbd076a1f30fdbb33c7973766ac03 27-Jun-2016 Pavel Březina <pbrezina@redhat.com>

sss_tools: add command description Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

284937e6b5b0c9d7a1d3382d0d2820d1168842fb 27-Jul-2015 Pavel Březina <pbrezina@redhat.com>

TOOLS: add common command framework Add general framework to simplify creating "cmd COMMAND [OPTIONS...]" style tools. Preparation for: https://fedorahosted.org/sssd/ticket/2584 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>