1/* 2 * Copyright (c) 2010 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23 24 25/* 26 * eapolcfg_auth.defs 27 * - EAPOLClientConfiguration daemon supporting APIs that requires authorization 28 */ 29 30/* 31 * Modification History 32 * 33 * February 22, 2010 Dieter Siegmund (dieter@apple.com) 34 * - initial revision 35 */ 36 37#include <mach/std_types.defs> 38#include <mach/mach_types.defs> 39 40subsystem eapolcfg_auth 22000; 41 42import "eapolcfg_auth_types.h"; 43 44/* Out of Band Data: XML format */ 45type xmlData = ^ array [] of MACH_MSG_TYPE_BYTE 46 ctype : xmlData_t; 47 48/* Out Of Band Data: client -> server */ 49type OOBData = ^ array [] of MACH_MSG_TYPE_BYTE 50 ctype : OOBData_t; 51 52/* Out Of Band Data: server -> client */ 53type OOBDataOut = ^ array [] of MACH_MSG_TYPE_BYTE 54 ctype : OOBDataOut_t; 55 56routine eapolclientitemid_set_identity ( server : mach_port_t; 57 auth_data : OOBData; 58 itemID_data : xmlData; 59 id_handle : OOBData; 60 out result : int); 61 62routine eapolclientitemid_set_password ( server : mach_port_t; 63 auth_data : OOBData; 64 itemID_data : xmlData; 65 flags : uint32_t; 66 name : OOBData; 67 password : OOBData; 68 out result : int); 69 70routine eapolclientitemid_remove_password( server : mach_port_t; 71 auth_data : OOBData; 72 itemID_data : xmlData; 73 out result : int); 74 75routine eapolclientitemid_check_password( server : mach_port_t; 76 auth_data : OOBData; 77 itemID_data : xmlData; 78 out name : OOBDataOut, dealloc; 79 out password_set : boolean_t; 80 out result : int); 81