Page MenuHomeFreeBSD

Add a set of D defines based on the contents of socket.h
ClosedPublic

Authored by gnn on Sep 6 2017, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 10:20 AM
Unknown Object (File)
Fri, Dec 20, 10:13 AM
Unknown Object (File)
Fri, Dec 20, 10:07 AM
Unknown Object (File)
Fri, Dec 20, 4:40 AM
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Subscribers

Details

Summary

Pulls in the various SO_, AF_, and PF_ defines for use in D scripts

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gnn edited the summary of this revision. (Show Details)
gnn added reviewers: markj, DTrace.

This should go in cddl/lib/libdtrace so that it gets included automatically like the rest of the libraries. Otherwise it seems ok to me.

We really need a way to avoid duplicating these definitions. I think illumos has some build-time sed script that substitutes the values from the corresponding header, but I haven't looked at it closely.

Also missing a makefile update.

It bugs me to have new, BSD licensed, code in the cddl directory but I'm OK with this being there for now. And, yes, we need an automagic way to generate these.

This revision was automatically updated to reflect the committed changes.