/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 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 <talloc.h>
#include <tevent.h>
#include <dhash.h>
#include "sbus/sssd_dbus.h"
#include "providers/data_provider/dp_private.h"
#include "util/dlinklist.h"
static int
{
return 0;
}
static int
{
}
return 0;
}
static struct dp_sbus_req_item *
struct sbus_request *sbus_req)
{
/* Attach to sbus_request so we ensure that this sbus_req is removed
* from the list when it is unexpectedly freed, for example when
* client connection is dropped. */
return NULL;
}
return item;
}
enum dp_targets target,
enum dp_methods method,
const char *custom_part)
{
}
{
}
const char *key)
{
int hret;
if (hret == HASH_ERROR_KEY_NOT_FOUND) {
return NULL;
} else if (hret != HASH_SUCCESS) {
return NULL;
}
}
const char *key,
struct tevent_req *req,
struct sbus_request *sbus_req)
{
int hret;
/* Attach it to request. */
if (table_value == NULL) {
return ENOMEM;
}
goto done;
}
goto done;
}
if (hret != HASH_SUCCESS) {
"[%d]\n", hret);
goto done;
}
done:
}
return ret;
}
struct dp_table_value *table_value,
struct sbus_request *sbus_req)
{
return ENOMEM;
}
return EOK;
}
const char *key,
struct tevent_req *req,
struct sbus_request *sbus_req)
{
return EINVAL;
}
if (table_value == NULL) {
return EINVAL;
}
}
}
const char *key)
{
int hret;
return;
}
hret);
}
return;
}
const char *key)
{
/* We're done here. */
return;
}
return;
}
const char *key)
{
}