common_tev.c revision eca74a9559ce1b0f123c14906ad8394fc303f468
/*
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Copyright (C) 2013 Red Hat
SSSD tests: Common utilities for tests that exercise domains
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 <tevent.h>
#include <talloc.h>
#include <errno.h>
struct sss_test_ctx *
{
struct sss_test_ctx *test_ctx;
goto fail;
}
/* Create an event context */
goto fail;
}
return test_ctx;
fail:
return NULL;
}
struct tevent_req *
{
struct tevent_req *req;
int *state;
} else {
}
return req;
}
{
return EOK;
}
{
}
{
}