At present, various projects are developing or delivering lib*adm
interfaces to match their command lines...

The command lines are generally "verb-object" and so too are the APIs...

Just looking at the list of functions I'm putting together, if I list them as they are now, mac_object_verb then I see:

mac_addr_len
mac_client_open
mac_client_close
mac_close
mac_header
mac_multicast_add
mac_multicast_remove
mac_open_by_linkid
mac_promisc_add
mac_sdu_get
mac_tx
mac_unicast_primary_get

If I change this to be mac_verb_object, then i see:

mac_addr_len
mac_add_multicast
mac_add_promisc
mac_close
mac_close_client
mac_get_sdu
mac_header
mac_open_by_linkid
mac_open_client
mac_remove_multicast
mac_remove_promisc
mac_tx

For some functions, it doesn't make much difference, but when keeping the list sorted alphabetically, related functions are split up.

Darren

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to