OFSET - Organization for Free Software in Education and Teaching
Project Zone
Project Home Page |  Download |  CVS |  Change Log |  To Do List |  FAQ |  Documentation |  Mailing List |  Pyassetml |  Libassetml ]



libassetml API proposal

Here is an example of API that could be used to implement AssetML

  /**
    \fn GList*    assetml_get_asset(gchar *dataset, gchar* categories, gchar* mimetype, gchar* name)
    \brief Returns a list of AssetML struct
    \param dataset the name of the dataset, NULL for ANY dataset
    \param categories a list of categorie columns ';' separated (NULL for all)
    \param mimetype an official mimetype describing the content (NULL for all)
    \param locale is the locale to search for or NULL for the current locale
    \param file the asset file name to get or NULL for any file name
  */
  /
  ::

  GList assetml_get_asset(gchar dataset, gchar categories, gchar mimetype, gchar locale, gchar name);

  struct AssetML
  {
   gchar         *dataset;
   gchar         *categories;
   gchar         *locale;
   gchar         *description;
   gchar         *file;
   gchar         *mimetype;
   gchar         *credits;
   };


Schoolforge member logo
Hosted by
SourceForge Logo Project Ofset

Updated on 2004/05/19 at 05:16:41 - UTC
Copyright 2000,2001,2002,2003,2004 OFSET, Mont-de-Marsan, Landes, Europe
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.