/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2015 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "sbus/sssd_dbus.h"
#include "responder/ifp/ifp_iface_generated.h"
#include "responder/ifp/ifp_users.h"
#include "responder/ifp/ifp_groups.h"
#include "responder/ifp/ifp_cache.h"
#include "responder/ifp/ifp_domains.h"
static const char **
{
return nodes;
}
static const char **
void *data,
enum ifp_cache_type type,
const char *prefix)
{
const char **paths;
const char **nodes;
const char *node;
int num_paths;
int i;
return NULL;
}
goto fail;
}
goto fail;
}
goto fail;
}
for (i = 0; i < num_paths; i++) {
goto fail;
}
}
return nodes;
fail:
return NULL;
}
static const char **
{
IFP_PATH_USERS "/");
}
static const char **
{
IFP_PATH_GROUPS "/");
}
static const char **
{
const char **nodes;
count = 0;
do {
count++;
return NULL;
}
count = 0;
do {
return NULL;
}
count++;
return nodes;
}
struct nodes_map {
const char *path;
};
{ IFP_PATH_USERS, nodes_users },
{ IFP_PATH_GROUPS, nodes_groups },
};
{
int i;
}
}