Difference between revisions of "LibccLicense"
(→Uses) |
(→Interface) |
||
Line 15: | Line 15: | ||
** get_name(uri) | ** get_name(uri) | ||
** get_version(uri) | ** get_version(uri) | ||
− | ** | + | ** is(attribute,uri) |
− | ** | + | ** category(uri) |
− | |||
− | |||
− | |||
** get_notification(uri[,url]) | ** get_notification(uri[,url]) | ||
* Data verification. | * Data verification. | ||
** verify_uri(uri) | ** verify_uri(uri) | ||
− | |||
* License chooser (return uris) | * License chooser (return uris) | ||
− | ** get_license( | + | ** get_license(category,flags) |
− | ** get_license_options( | + | ** get_license_options(category,locale) |
− | |||
− | |||
=== Data Structure === | === Data Structure === |
Revision as of 00:02, 19 June 2007
Purpose
To provide a generic interface to the CC license data, license choice data and license choice logic.
Audience
Application developers who wish to choose and/or verify CC licenses.
Implementation
This library will be implemented in C to provide maximum portability.
Interface
- Data accessors.
- get_locale(uri)
- get_jurisdiction(uri)
- get_name(uri)
- get_version(uri)
- is(attribute,uri)
- category(uri)
- get_notification(uri[,url])
- Data verification.
- verify_uri(uri)
- License chooser (return uris)
- get_license(category,flags)
- get_license_options(category,locale)
Data Structure
- Data Types (informal)
- uri
- name
- notification
- deed
- sampling
Bindings
- Python
Uses
libccLicense system implementation guidelines
- Gnome
- KDE
- OpenMoko
- Sugar (OLPC)