ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher/*
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher SSSD
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher Authors:
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher Stephen Gallagher <sgallagh@redhat.com>
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher Copyright (C) 2012 Red Hat
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher This program is free software; you can redistribute it and/or modify
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher it under the terms of the GNU General Public License as published by
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher the Free Software Foundation; either version 3 of the License, or
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher (at your option) any later version.
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher This program is distributed in the hope that it will be useful,
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher but WITHOUT ANY WARRANTY; without even the implied warranty of
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher GNU General Public License for more details.
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher You should have received a copy of the GNU General Public License
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher along with this program. If not, see <http://www.gnu.org/licenses/>.
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher*/
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher#ifndef SDAP_RANGE_H_
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher#define SDAP_RANGE_H_
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher#include "src/util/util.h"
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallaghererrno_t sdap_parse_range(TALLOC_CTX *mem_ctx,
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher const char *attr_desc,
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher char **base_attr,
6263578b03a52b3ec3a2e33e097554241780fc20Lukas Slebodnik uint32_t *range_offset,
6263578b03a52b3ec3a2e33e097554241780fc20Lukas Slebodnik bool disable_range_retrieval);
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher
ae8d047122c7ba8123f72b2eac68944868ac37d4Stephen Gallagher#endif /* SDAP_RANGE_H_ */