cnplab / cosmos

ClickOS toolstack
BSD 3-Clause "New" or "Revised" License
18 stars 16 forks source link

Implement domain_name_to_id(name) with DOMLIB=none #7

Open jpemartins opened 10 years ago

jpemartins commented 10 years ago

Every command is made on the context of a domain name with any of the DOMLIB built in.

With DOMLIB=none we use domain id for this, though it causes some confusion when using cosmos.

We can fix this by adding a very simple implementation to domain_none based on xcl.