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)
Feb 23 2024, 3:31 PM
Unknown Object (File)
Feb 23 2024, 3:31 PM
Unknown Object (File)
Feb 23 2024, 3:31 PM
Unknown Object (File)
Feb 23 2024, 3:31 PM
Unknown Object (File)
Feb 23 2024, 3:16 PM
Unknown Object (File)
Dec 20 2023, 3:27 AM
Unknown Object (File)
Nov 8 2023, 9:31 AM
Unknown Object (File)
Nov 5 2023, 11:26 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.