summaryrefslogtreecommitdiff
path: root/server/responder/common/responder_packet.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-18 07:49:04 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-18 13:48:45 -0500
commit1c48b5a62f73234ed26bb20f0ab345ab61cda0ab (patch)
tree0b6cddd567a862e1a7b5df23764869782a62ca78 /server/responder/common/responder_packet.h
parent8c56df3176f528fe0260974b3bf934173c4651ea (diff)
downloadsssd-1c48b5a62f73234ed26bb20f0ab345ab61cda0ab.tar.gz
sssd-1c48b5a62f73234ed26bb20f0ab345ab61cda0ab.tar.bz2
sssd-1c48b5a62f73234ed26bb20f0ab345ab61cda0ab.zip
Rename server/ directory to src/
Also update BUILD.txt
Diffstat (limited to 'server/responder/common/responder_packet.h')
-rw-r--r--server/responder/common/responder_packet.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/server/responder/common/responder_packet.h b/server/responder/common/responder_packet.h
deleted file mode 100644
index 2bfdc8a3..00000000
--- a/server/responder/common/responder_packet.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- SSSD
-
- SSS Client Responder, header file
-
- Copyright (C) Simo Sorce <ssorce@redhat.com> 2008
-
- This program is free software; you can redistribute it and/or modify
- 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/>.
-*/
-
-#ifndef __SSSSRV_PACKET_H__
-#define __SSSSRV_PACKET_H__
-
-#include "sss_client/sss_cli.h"
-
-#define SSS_PACKET_MAX_RECV_SIZE 1024
-
-struct sss_packet;
-
-int sss_packet_new(TALLOC_CTX *mem_ctx, size_t size,
- enum sss_cli_command cmd,
- struct sss_packet **rpacket);
-int sss_packet_grow(struct sss_packet *packet, size_t size);
-int sss_packet_shrink(struct sss_packet *packet, size_t size);
-int sss_packet_set_size(struct sss_packet *packet, size_t size);
-int sss_packet_recv(struct sss_packet *packet, int fd);
-int sss_packet_send(struct sss_packet *packet, int fd);
-enum sss_cli_command sss_packet_get_cmd(struct sss_packet *packet);
-void sss_packet_get_body(struct sss_packet *packet, uint8_t **body, size_t *blen);
-void sss_packet_set_error(struct sss_packet *packet, int error);
-
-#endif /* __SSSSRV_PACKET_H__ */