• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: struct protosw
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: struct protosw


  • Subject: Re: struct protosw
  • From: Mike Gargano <email@hidden>
  • Date: Fri, 3 Aug 2007 16:21:04 -0400

Thanks Josh,

I see the headers I need in there. I'm just not sure how to compile the project now that I have that. I guess xcode still searches the Kernel.Framework headers because it knows it's a KEXT target. If I take them out of the search path, it complains that I'm missing headers since, I guess, those are the public API portions of a KEXT. This whole process is very confusing and not documented very well. If anyone's got any advice, please let me know.

Thanks though, this definitely looks like the right path I need to be taking.

-Mike


On Aug 3, 2007, at 1:24 PM, Josh Graessley wrote:


The headers that come with the developer tools are the public headers. protosw is defined in the private headers. You can get these headers by grabbing the kernel project and build that. Unfortunately, I'm not intimately familiar with the details. Hopefully this will give you enough to make forward progress.


Do not ship a product with source that includes private headers. Those headers are there because the kernel is open source and they are needed to build the kernel. Things in private headers may change without notice and any software depending on stuff from private headers may break with any software update.

-josh

On Aug 3, 2007, at 8:36 AM, Mike Gargano wrote:

Hi all,

I'm trying to recompile the PPTP sources from Apple. It looks like these files haven't been touched in a while and I needed to add a whole bunch of headers to get anywhere. I'm stuck on this protosw structure. It appears that "struct protosw" is used in a few places, but I can't find where it is defined. Anyone know what header this structure is defined in?

Thanks.

-Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: struct protosw
      • From: Quinn <email@hidden>
References: 
 >struct protosw (From: Mike Gargano <email@hidden>)
 >Re: struct protosw (From: Josh Graessley <email@hidden>)

  • Prev by Date: Re: struct protosw
  • Next by Date: Re: struct protosw
  • Previous by thread: Re: struct protosw
  • Next by thread: Re: struct protosw
  • Index(es):
    • Date
    • Thread