diff options
author | Sumit Bose <sbose@redhat.com> | 2015-06-16 16:58:23 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-19 18:48:13 +0200 |
commit | a99845006f96f9d1e7af871ec67c71cee8408a62 (patch) | |
tree | 25a873d57d0f695652263dfc05de141859ff5a69 /src/util/util.h | |
parent | 8d4dedea12e2b71f83a1b0e5f0fc5cdb706dcf98 (diff) | |
download | sssd-a99845006f96f9d1e7af871ec67c71cee8408a62.tar.gz sssd-a99845006f96f9d1e7af871ec67c71cee8408a62.tar.xz sssd-a99845006f96f9d1e7af871ec67c71cee8408a62.zip |
utils: add get_last_x_chars()
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index 786ed303e..3d90cf0d1 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -628,6 +628,8 @@ char * sss_reverse_replace_space(TALLOC_CTX *mem_ctx, errno_t guid_blob_to_string_buf(const uint8_t *blob, char *str_buf, size_t buf_size); +const char *get_last_x_chars(const char *str, size_t x); + /* from become_user.c */ errno_t become_user(uid_t uid, gid_t gid); struct sss_creds; |