]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/ppp.h
4ef7c4066aea1429551031a3b2194230a10aff31
2 * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
23 * @APPLE_LICENSE_HEADER_END@
27 * Modification History
29 * Nov 7, 2002 Allan Nathanson <ajn@apple.com>
30 * - use ServiceID *or* LinkID
32 * Feb 10, 2001 Allan Nathanson <ajn@apple.com>
35 * Feb 2000 Christophe Allie <callie@apple.com>
36 * - initial revision (as ppplib.h)
42 #include <sys/cdefs.h>
43 #include <ppp/ppp_msg.h>
44 #include <CoreFoundation/CoreFoundation.h>
48 int PPPInit (int *ref
);
50 int PPPDispose (int ref
);
52 int PPPGetLinkByInterface (int ref
,
56 int PPPConnect (int ref
,
57 CFStringRef serviceid
,
63 int PPPDisconnect (int ref
,
64 CFStringRef serviceid
,
68 int PPPSuspend (int ref
,
69 CFStringRef serviceID
,
72 int PPPResume (int ref
,
73 CFStringRef serviceID
,
76 int PPPGetOption (int ref
,
77 CFStringRef serviceid
,
83 int PPPSetOption (int ref
,
84 CFStringRef serviceid
,
90 int PPPGetConnectData (int ref
,
91 CFStringRef serviceID
,
96 int PPPStatus (int ref
,
97 CFStringRef serviceid
,
99 struct ppp_status
**stat
);
101 int PPPExtendedStatus (int ref
,
102 CFStringRef serviceid
,
107 int PPPEnableEvents (int ref
,
108 CFStringRef serviceid
,
112 int PPPReadEvent (int ref
,
115 CFDataRef
PPPSerialize (CFPropertyListRef obj
,
119 CFPropertyListRef
PPPUnserialize (void *data
,