X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/authd/object.h diff --git a/authd/object.h b/authd/object.h deleted file mode 100644 index 7731f788..00000000 --- a/authd/object.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright (c) 2012 Apple Inc. All rights reserved. */ - -#ifndef _SECURITY_AUTH_OBJECT_H_ -#define _SECURITY_AUTH_OBJECT_H_ - -#include "authd_private.h" -#include -#include - -#if defined(__cplusplus) -extern "C" { -#endif - -#define __AUTH_BASE_STRUCT_HEADER__ \ - CFRuntimeBase _base; - -struct _auth_base_s { - __AUTH_BASE_STRUCT_HEADER__; -}; - -#define AUTH_TYPE(type) const CFRuntimeClass type - -#define AUTH_TYPE_INSTANCE(name, ...) \ - AUTH_TYPE(_auth_type_##name) = { \ - .version = 0, \ - .className = #name "_t", \ - __VA_ARGS__ \ - } - -#define AUTH_CLASS_SIZE(name) (sizeof(struct _##name##_s) - sizeof(CFRuntimeBase)) - -#if defined(__cplusplus) -} -#endif - -#endif /* !_SECURITY_AUTH_OBJECT_H_ */