refactoring
authorTomas Mlcoch <tmlcoch@redhat.com>
Wed, 3 Jul 2013 11:57:30 +0000 (13:57 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Wed, 3 Jul 2013 11:57:30 +0000 (13:57 +0200)
src/python/sqlite-py.c
src/xml_dump_internal.h
src/xml_parser_repomd.c

index 69ca879..b720ff6 100644 (file)
@@ -118,12 +118,6 @@ sqlite_repr(_SqliteObject *self)
     return PyString_FromFormat("<createrepo_c.Sqlite %s object>", type);
 }
 
-/* getsetters */
-
-/* TODO:
- * Export sqlite object - Maybe in future version?
- */
-
 /* Sqlite methods */
 
 static PyObject *
index 64f3d46..8e3ce7d 100644 (file)
@@ -42,8 +42,7 @@ extern "C" {
 #define DATESIZE_STR_MAX_LEN    SIZE_STR_MAX_LEN
 #endif
 
-/**
- * Dump files from the package and append them to the node as childrens.
+/** Dump files from the package and append them to the node as childrens.
  * @param node          parent xml node
  * @param package       cr_Package
  * @param primary       process only primary files (see cr_is_primary() function
@@ -51,8 +50,7 @@ extern "C" {
  */
 void cr_xml_dump_files(xmlNodePtr node, cr_Package *package, int primary);
 
-/**
- * Createrepo wrapper over libxml xmlNewTextChild.
+/** Createrepo_c wrapper over libxml xmlNewTextChild.
  * It allows content to be NULL and non UTF-8 (if content is no UTF8
  * then iso-8859-1 is assumed).
  */
@@ -61,7 +59,10 @@ xmlNodePtr cr_xmlNewTextChild(xmlNodePtr parent,
                               const xmlChar *name,
                               const xmlChar *content);
 
-/** TODO */
+/** Createrepo_c wrapper over the libxml xmlNewProp.
+ * It allows content to be NULL and non UTF-8 (if content is no UTF8
+ * then iso-8859-1 is assumed)
+ */
 xmlAttrPtr cr_xmlNewProp(xmlNodePtr node,
                          const xmlChar *name,
                          const xmlChar *value);
index 9f660c6..4ac7b2a 100644 (file)
@@ -36,7 +36,6 @@
 
 /* TODO:
  * - replace atol function with better alternative
- * - maybe in repomdrecord struct use gint64 instead of long
  */
 
 typedef enum {