/*
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 "config.h"
#include "providers/data_provider/dp.h"
#include "providers/data_provider/dp_private.h"
enum dp_methods method,
void *method_data,
const char *method_dtype,
const char *request_dtype,
const char *output_dtype,
{
if (method >= DP_METHOD_SENTINEL) {
return;
}
/* Each method can be set only once, if we attempt to set it twice it
* is a bug in module initialization. */
return;
}
"not provided for method %d\n", method);
return;
}
}
enum dp_targets target,
enum dp_methods method)
{
return false;
}
return false;
}
return false;
}
return false;
}
return true;
}
enum dp_targets target,
enum dp_methods method,
{
return ERR_INTERNAL;
}
return ERR_MISSING_DP_TARGET;
}
"Bug: Invalid combination of target [%s] and method [%d]\n",
return ERR_INTERNAL;
}
return EOK;
}