this repo has no description
at fixPythonPipStalling 72 lines 2.0 kB view raw
1/* 2 * Copyright (c) 2002-2015, 2019 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 * Modification History 26 * 27 * August 5, 2002 Allan Nathanson <ajn@apple.com> 28 * - split code out from eventmon.c 29 */ 30 31 32#ifndef _EV_DLIL_H 33#define _EV_DLIL_H 34 35__BEGIN_DECLS 36 37void interface_detaching (const char *if_name); 38 39void interface_update_delegation (const char *if_name); 40 41void interface_update_idle_state (const char *if_name); 42 43void interface_update_link_issues (const char *if_name, 44 uint64_t timestamp, 45 uint8_t *modid, 46 size_t modid_size, 47 uint8_t *info, 48 size_t info_size); 49 50void interface_update_quality_metric (const char *if_name, int quality); 51 52void link_add (const char *if_name); 53 54void link_remove (const char *if_name); 55 56void link_update_status (const char *if_name, boolean_t attach, boolean_t only_if_different); 57 58void link_update_status_if_missing (const char * if_name); 59 60CFMutableArrayRef 61interfaceListCopy(void); 62 63void 64interfaceListUpdate(CFArrayRef ifList); 65 66Boolean 67interfaceListAddInterface(CFMutableArrayRef ifList, const char * if_name); 68 69__END_DECLS 70 71#endif /* _EV_DLIL_H */ 72