summaryrefslogtreecommitdiffstats
path: root/elapi/elapi_basic.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-09 16:02:10 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-12 08:44:11 -0500
commitc170439337e796f9d565f8a60095889d7636a310 (patch)
tree863d272a90def89440b2fc564105e1aa39bbb9bf /elapi/elapi_basic.h
parent8acfb78b1d0eb1e2f8a136b395f335df1f8fc8bc (diff)
downloadding-libs-c170439337e796f9d565f8a60095889d7636a310.tar.gz
ding-libs-c170439337e796f9d565f8a60095889d7636a310.tar.xz
ding-libs-c170439337e796f9d565f8a60095889d7636a310.zip
Remove ELAPI from the SSSD repository
ELAPI now lives in its own project at https://fedorahosted.org/ELAPI
Diffstat (limited to 'elapi/elapi_basic.h')
-rw-r--r--elapi/elapi_basic.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/elapi/elapi_basic.h b/elapi/elapi_basic.h
deleted file mode 100644
index 480ef1b..0000000
--- a/elapi/elapi_basic.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- ELAPI
-
- Basic output buffer manipulation routines.
-
- Copyright (C) Dmitri Pal <dpal@redhat.com> 2009
-
- 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 ELAPI_BASIC_H
-#define ELAPI_BASIC_H
-
-#include <stdint.h>
-#include "elapi_defines.h"
-
-/* Generic data structure for the data output */
-struct elapi_data_out {
- unsigned char *buffer;
- uint32_t size;
- uint32_t length;
- uint32_t written;
-};
-
-/* Function to free serialized data */
-void elapi_free_serialized_data(struct elapi_data_out *out_data);
-
-/* Allocate data structure */
-int elapi_alloc_serialized_data(struct elapi_data_out **out_data);
-
-/* Function to add memory to the output buffer */
-int elapi_grow_data(struct elapi_data_out *out_data,
- uint32_t len,
- uint32_t block);
-
-#endif