X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/libsecurity_ssl/lib/SSLRecordInternal.h diff --git a/libsecurity_ssl/lib/SSLRecordInternal.h b/libsecurity_ssl/lib/SSLRecordInternal.h deleted file mode 100644 index 4e9082c5..00000000 --- a/libsecurity_ssl/lib/SSLRecordInternal.h +++ /dev/null @@ -1,57 +0,0 @@ -// -// SSLRecordInternal.h -// Security -// -// Created by Fabrice Gautier on 10/25/11. -// Copyright (c) 2011 Apple, Inc. All rights reserved. -// - - -/* This header should be kernel compatible */ - -#ifndef _SSLRECORDINTERNAL_H_ -#define _SSLRECORDINTERNAL_H_ 1 - -#include -#include -#include - -#include "sslTypes.h" - -typedef void * SSLIOConnectionRef; - -typedef int -(*SSLIOReadFunc) (SSLIOConnectionRef connection, - void *data, /* owned by - * caller, data - * RETURNED */ - size_t *dataLength); /* IN/OUT */ -typedef int -(*SSLIOWriteFunc) (SSLIOConnectionRef connection, - const void *data, - size_t *dataLength); /* IN/OUT */ - - -/* Record layer creation functions, called from the SSLContext layer */ - -SSLRecordContextRef -SSLCreateInternalRecordLayer(bool dtls); - -int -SSLSetInternalRecordLayerIOFuncs( - SSLRecordContextRef ctx, - SSLIOReadFunc readFunc, - SSLIOWriteFunc writeFunc); - -int -SSLSetInternalRecordLayerConnection( - SSLRecordContextRef ctx, - SSLIOConnectionRef ioRef); - -void -SSLDestroyInternalRecordLayer(SSLRecordContextRef ctx); - - -extern struct SSLRecordFuncs SSLRecordLayerInternal; - -#endif