summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-29 09:42:15 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-29 09:42:15 -0700
commita994573a436ec2835781d13ecd2307e18c67855b (patch)
tree9c37bfb3318022fd8bd159e092ec4d9cf9dce5b9 /include
parent883c84bdb95b0374e4f4ea2238b2288787547897 (diff)
downloadinfinitytier-a994573a436ec2835781d13ecd2307e18c67855b.tar.gz
infinitytier-a994573a436ec2835781d13ecd2307e18c67855b.zip
Eliminate some more dead code. We may do path trust, but not like that.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 01c8bcde..e9b38c52 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -425,15 +425,6 @@ enum ZT_VirtualNetworkConfigOperation
};
/**
- * Local interface trust levels
- */
-enum ZT_LocalInterfaceAddressTrust {
- ZT_LOCAL_INTERFACE_ADDRESS_TRUST_NORMAL = 0,
- ZT_LOCAL_INTERFACE_ADDRESS_TRUST_PRIVACY = 10,
- ZT_LOCAL_INTERFACE_ADDRESS_TRUST_ULTIMATE = 20
-};
-
-/**
* What trust hierarchy role does this peer have?
*/
enum ZT_PeerRole {
@@ -1337,11 +1328,6 @@ void ZT_Node_freeQueryResult(ZT_Node *node,void *qr);
/**
* Add a local interface address
*
- * Local interface addresses may be added if you want remote peers
- * with whom you have a trust relatinship (e.g. common network membership)
- * to receive information about these endpoints as potential endpoints for
- * direct communication.
- *
* Take care that these are never ZeroTier interface addresses, otherwise
* strange things might happen or they simply won't work.
*
@@ -1356,10 +1342,9 @@ void ZT_Node_freeQueryResult(ZT_Node *node,void *qr);
* reject bad, empty, and unusable addresses.
*
* @param addr Local interface address
- * @param trust How much do you trust the local network under this interface?
* @return Boolean: non-zero if address was accepted and added
*/
-int ZT_Node_addLocalInterfaceAddress(ZT_Node *node,const struct sockaddr_storage *addr,enum ZT_LocalInterfaceAddressTrust trust);
+int ZT_Node_addLocalInterfaceAddress(ZT_Node *node,const struct sockaddr_storage *addr);
/**
* Clear local interface addresses