responder_cmd.c revision 10e46b45ef6b52b1e81419ff3de62df6f0abe1c0
/*
SSSD
SSS Client Responder, command parser
Copyright (C) Simo Sorce <ssorce@redhat.com> 2008
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 <errno.h>
#include "responder/common/responder.h"
#include "responder/common/responder_packet.h"
{
/* now that the packet is in place, unlock queue
* making the event writable */
/* free all request related data through the talloc hierarchy */
}
{
int ret;
int i;
if (cli_protocol_version == NULL) {
}
if (cli_protocol_version != NULL) {
i=0;
while(cli_protocol_version[i].version>0) {
break;
}
i++;
}
}
}
/* create response packet */
return ret;
}
return EOK;
}
{
enum sss_cli_command cmd;
int i;
}
}
return EINVAL;
}