]>
git.saurik.com Git - apple/configd.git/blob - SystemConfiguration.fproj/ppp.h
c7135d5476b313078c2973a1194a27f3b0e518ec
2 * Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
25 * Modification History
27 * Nov 7, 2002 Allan Nathanson <ajn@apple.com>
28 * - use ServiceID *or* LinkID
30 * Feb 10, 2001 Allan Nathanson <ajn@apple.com>
33 * Feb 2000 Christophe Allie <callie@apple.com>
34 * - initial revision (as ppplib.h)
40 #include <sys/cdefs.h>
41 #include <ppp/ppp_msg.h>
42 #include <CoreFoundation/CoreFoundation.h>
46 int PPPInit (int *ref
);
48 int PPPDispose (int ref
);
50 int PPPGetLinkByInterface (int ref
,
54 int PPPConnect (int ref
,
55 CFStringRef serviceid
,
61 int PPPDisconnect (int ref
,
62 CFStringRef serviceid
,
66 int PPPSuspend (int ref
,
67 CFStringRef serviceID
,
70 int PPPResume (int ref
,
71 CFStringRef serviceID
,
74 int PPPGetOption (int ref
,
75 CFStringRef serviceid
,
81 int PPPSetOption (int ref
,
82 CFStringRef serviceid
,
88 int PPPGetConnectData (int ref
,
89 CFStringRef serviceID
,
94 int PPPStatus (int ref
,
95 CFStringRef serviceid
,
97 struct ppp_status
**stat
);
99 int PPPExtendedStatus (int ref
,
100 CFStringRef serviceid
,
105 int PPPEnableEvents (int ref
,
106 CFStringRef serviceid
,
110 int PPPReadEvent (int ref
,
113 CFDataRef
PPPSerialize (CFPropertyListRef obj
,
117 CFPropertyListRef
PPPUnserialize (void *data
,