Doxygen doco markup.
authorjbj <devnull@localhost>
Thu, 17 Apr 2003 17:17:27 +0000 (17:17 +0000)
committerjbj <devnull@localhost>
Thu, 17 Apr 2003 17:17:27 +0000 (17:17 +0000)
CVS patchset: 6760
CVS date: 2003/04/17 17:17:27

26 files changed:
python/_rpmdb.c
python/header-py.c
python/header-py.h
python/rpmal-py.c
python/rpmal-py.h
python/rpmbc-py.c
python/rpmbc-py.h
python/rpmdb-py.c
python/rpmdb-py.h
python/rpmds-py.c
python/rpmds-py.h
python/rpmfd-py.c
python/rpmfd-py.h
python/rpmfi-py.c
python/rpmfi-py.h
python/rpmfts-py.c
python/rpmfts-py.h
python/rpmmi-py.c
python/rpmmi-py.h
python/rpmmodule.c
python/rpmrc-py.c
python/rpmrc-py.h
python/rpmte-py.c
python/rpmte-py.h
python/rpmts-py.c
python/rpmts-py.h

index 3d93f6f..1bdcd11 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/_rpmdb.c
  */
 
@@ -92,7 +92,7 @@
 
 #define PY_BSDDB_VERSION "3.4.2"
 
-static char *rcs_id = "$Id: _rpmdb.c,v 1.7 2002/11/08 22:23:37 jbj Exp $";
+static char *rcs_id = "$Id: _rpmdb.c,v 1.8 2003/04/17 17:17:27 jbj Exp $";
 
 
 #ifdef WITH_THREAD
index 78bd0ea..11fdbe2 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c
  * \file python/header-py.c
  */
 
 #include "debug.h"
 
 /** \ingroup python
+ * \class Rpm
+ * \brief START HERE / RPM base module for the Python API
+ *
+ * The rpm base module provides the main starting point for
+ * accessing RPM from Python. For most usage, call
+ * the TransactionSet method to get a transaction set (rpmts).
+ *
+ * For example:
+ * \code
+ *     import rpm
+ *
+ *     ts = rpm.TransactionSet()
+ * \endcode
+ *
+ * The transaction set will open the RPM database as needed, so
+ * in most cases, you do not need to explicitly open the
+ * database. The transaction set is the workhorse of RPM.
+ *
+ * You can open another RPM database, such as one that holds
+ * all packages for a given Linux distribution, to provide
+ * packages used to solve dependencies. To do this, use
+ * the following code:
+ *
+ * \code
+ * rpm.addMacro('_dbpath', '/path/to/alternate/database')
+ * solvets = rpm.TransactionSet()
+ * solvets.openDB()
+ * rpm.delMacro('_dbpath')
+ *
+ * # Open default database
+ * ts = rpm.TransactionSet()
+ * \endcode
+ *
+ * This code gives you access to two RPM databases through
+ * two transaction sets (rpmts): ts is a transaction set
+ * associated with the default RPM database and solvets
+ * is a transaction set tied to an alternate database, which
+ * is very useful for resolving dependencies.
+ *
+ * The rpm methods used here are:
+ *
+ * - addMacro(macro, value)
+ * @param macro   Name of macro to add
+ * @param value   Value for the macro
+ *
+ * - delMacro(macro)
+ * @param macro   Name of macro to delete
+ *
+ */
+
+/** \ingroup python
  * \class Rpmhdr
  * \brief A python header object represents an RPM package header.
- * 
+ *
  * All RPM packages have headers that provide metadata for the package.
  * Header objects can be returned by database queries or loaded from a
  * binary package on disk.
- * 
+ *
  * The ts.hdrFromFdno() function returns the package header from a
  * package on disk, verifying package signatures and digests of the
  * package while reading.
  *     else:
  *        print "header is from a binary package"
  * \endcode
- * 
+ *
  * The Python interface to the header data is quite elegant.  It
  * presents the data in a dictionary form.  We'll take the header we
  * just loaded and access the data within it:
  */
 /*@{*/
 
-/** \ingroup python
+/** \ingroup py_c
  */
 struct hdrObject_s {
     PyObject_HEAD
@@ -110,7 +161,7 @@ struct hdrObject_s {
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrKeyList(hdrObject * s, PyObject * args)
        /*@*/
@@ -144,7 +195,7 @@ static PyObject * hdrKeyList(hdrObject * s, PyObject * args)
     return list;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords)
        /*@*/
@@ -156,7 +207,7 @@ static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords)
     static char *kwlist[] = { "legacyHeader", NULL};
 
     if (!PyArg_ParseTupleAndKeywords(args, keywords, "|i", kwlist, &legacy))
-       return NULL; 
+       return NULL;
 
     h = headerLink(s->h);
     /* XXX this legacy switch is a hack, needs to be removed. */
@@ -179,7 +230,7 @@ static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords)
     return rc;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrExpandFilelist(hdrObject * s, PyObject * args)
        /*@*/
@@ -190,7 +241,7 @@ static PyObject * hdrExpandFilelist(hdrObject * s, PyObject * args)
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrCompressFilelist(hdrObject * s, PyObject * args)
        /*@*/
@@ -202,7 +253,7 @@ static PyObject * hdrCompressFilelist(hdrObject * s, PyObject * args)
 }
 
 /* make a header with _all_ the tags we need */
-/** \ingroup python
+/** \ingroup py_c
  */
 static void mungeFilelist(Header h)
        /*@*/
@@ -214,7 +265,7 @@ static void mungeFilelist(Header h)
        || !headerIsEntry (h, RPMTAG_DIRNAMES)
        || !headerIsEntry (h, RPMTAG_DIRINDEXES))
        compressFilelist(h);
-    
+
     rpmfiBuildFNames(h, RPMTAG_BASENAMES, &fileNames, &count);
 
     if (fileNames == NULL || count <= 0)
@@ -227,7 +278,7 @@ static void mungeFilelist(Header h)
     fileNames = _free(fileNames);
 }
 
-/** 
+/**
  */
 static PyObject * rhnUnload(hdrObject * s, PyObject * args)
        /*@*/
@@ -289,7 +340,7 @@ static PyObject * rhnUnload(hdrObject * s, PyObject * args)
     return rc;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrFullFilelist(hdrObject * s, PyObject * args)
        /*@*/
@@ -303,7 +354,7 @@ static PyObject * hdrFullFilelist(hdrObject * s, PyObject * args)
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdrSprintf(hdrObject * s, PyObject * args)
        /*@*/
@@ -341,7 +392,7 @@ static long hdr_hash(PyObject * h)
     return (long) h;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 /*@unchecked@*/ /*@observer@*/
 static struct PyMethodDef hdr_methods[] = {
@@ -370,7 +421,7 @@ static struct PyMethodDef hdr_methods[] = {
     {NULL,             NULL}           /* sentinel */
 };
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdr_getattr(hdrObject * s, char * name)
        /*@*/
@@ -378,7 +429,7 @@ static PyObject * hdr_getattr(hdrObject * s, char * name)
     return Py_FindMethod(hdr_methods, (PyObject * ) s, name);
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static void hdr_dealloc(hdrObject * s)
        /*@*/
@@ -390,7 +441,7 @@ static void hdr_dealloc(hdrObject * s)
     PyObject_Del(s);
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 long tagNumFromPyObject (PyObject *item)
 {
@@ -408,7 +459,7 @@ long tagNumFromPyObject (PyObject *item)
     return -1;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 static PyObject * hdr_subscript(hdrObject * s, PyObject * item)
        /*@*/
@@ -447,7 +498,7 @@ static PyObject * hdr_subscript(hdrObject * s, PyObject * item)
             PyErr_SetString(PyExc_KeyError, "unknown header tag");
             return NULL;
         }
-        
+
         if (!rpmHeaderGetEntry(s->h, tag, &type, &data, &count)) {
             Py_INCREF(Py_None);
             return Py_None;
@@ -567,7 +618,7 @@ static PyObject * hdr_subscript(hdrObject * s, PyObject * item)
     return o;
 }
 
-/** \ingroup python
+/** \ingroup py_c
  */
 /*@unchecked@*/ /*@observer@*/
 static PyMappingMethods hdr_as_mapping = {
@@ -581,7 +632,7 @@ static PyMappingMethods hdr_as_mapping = {
 static char hdr_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c
  */
 /*@unchecked@*/ /*@observer@*/
 PyTypeObject hdr_Type = {
@@ -656,7 +707,7 @@ PyObject * hdrLoad(PyObject * self, PyObject * args)
     int len;
 
     if (!PyArg_ParseTuple(args, "s#", &obj, &len)) return NULL;
-    
+
     /* malloc is needed to avoid surprises from data swab in headerLoad(). */
     copy = malloc(len);
     if (copy == NULL) {
@@ -689,7 +740,7 @@ PyObject * rhnLoad(PyObject * self, PyObject * args)
     int len;
 
     if (!PyArg_ParseTuple(args, "s#", &obj, &len)) return NULL;
-    
+
     /* malloc is needed to avoid surprises from data swab in headerLoad(). */
     copy = malloc(len);
     if (copy == NULL) {
index 1bdaf9b..0464121 100644 (file)
@@ -1,18 +1,18 @@
 #ifndef RPMPYTHON_HEADER
 #define RPMPYTHON_HEADER
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/header-py.h
  */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 typedef struct hdrObject_s hdrObject;
 
 /*@unchecked@*/
 extern PyTypeObject hdr_Type;
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 PyObject * pyrpmError;
 
index 1a159df..99dd060 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmal-py.c
  */
 
index 62d69a4..24de1e3 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmal.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmal-py.h
  */
 
index e122884..9354358 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmbc-py.c
  */
 
@@ -482,7 +482,7 @@ fprintf(stderr, "*** rpmbc_repr(%p): \"%s\"\n", a, PyString_AS_STRING(so));
     return so;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int rpmbc_init(rpmbcObject * z, PyObject *args, PyObject *kwds)
        /*@modifies z @*/
@@ -537,7 +537,7 @@ fprintf(stderr, "*** rpmbc_init(%p[%s],%p[%s],%p[%s]):\t", z, lbl(z), args, lbl(
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmbc_free(/*@only@*/ rpmbcObject * s)
        /*@modifies s @*/
@@ -548,7 +548,7 @@ fprintf(stderr, "*** rpmbc_free(%p[%s])\n", s, lbl(s));
     PyObject_Del(s);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmbc_alloc(PyTypeObject * subtype, int nitems)
        /*@*/
@@ -607,7 +607,7 @@ rpmbc_i2bc(PyObject * o)
 
 /* ---------- */
 
-/** \ingroup python
+/** \ingroup py_c  
  */    
 static PyObject * 
 rpmbc_Debug(/*@unused@*/ rpmbcObject * s, PyObject * args)
@@ -623,7 +623,7 @@ fprintf(stderr, "*** rpmbc_Debug(%p)\n", s);
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */    
 static PyObject * 
 rpmbc_Gcd(/*@unused@*/ rpmbcObject * s, PyObject * args)
@@ -656,7 +656,7 @@ fprintf(stderr, "*** rpmbc_Gcd(%p)\n", s);
     return (PyObject *)z;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */    
 static PyObject * 
 rpmbc_Sqrt(/*@unused@*/ rpmbcObject * s, PyObject * args)
index 787509f..dbbe497 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmio_internal.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmbc-py.h
  */
 
index 1ab1b7c..85b3a59 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmdb-py.c
  */
 
index 377f59e..4fe934a 100644 (file)
@@ -3,15 +3,15 @@
 
 #include "rpmdb.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmdb-py.h
  */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 typedef struct rpmdbObject_s rpmdbObject;
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 struct rpmdbObject_s {
     PyObject_HEAD
index 534fc43..3853e42 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmds-py.c
  */
 
index 83c8928..5f45d21 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmds.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmds-py.h
  */
 
index 535d9bb..d463474 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfd-py.c
  */
 
@@ -148,7 +148,7 @@ rpmfd_Fopen(/*@unused@*/ PyObject * s, PyObject * args)
     return PyFile_FromFile (node->f, path, mode, closeCallback);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 /*@unchecked@*/ /*@observer@*/
@@ -163,7 +163,7 @@ static struct PyMethodDef rpmfd_methods[] = {
 
 /* ---------- */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void
 rpmfd_dealloc(/*@only@*/ /*@null@*/ rpmfdObject * s)
@@ -176,7 +176,7 @@ rpmfd_dealloc(/*@only@*/ /*@null@*/ rpmfdObject * s)
     }
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmfd_getattr(rpmfdObject * o, char * name)
        /*@*/
@@ -184,7 +184,7 @@ static PyObject * rpmfd_getattr(rpmfdObject * o, char * name)
     return Py_FindMethod(rpmfd_methods, (PyObject *) o, name);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int rpmfd_init(rpmfdObject * s, PyObject *args, PyObject *kwds)
        /*@modifies s @*/
@@ -216,7 +216,7 @@ fprintf(stderr, "*** rpmfd_init(%p,%p,%p)\n", s, args, kwds);
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmfd_free(/*@only@*/ rpmfdObject * s)
        /*@modifies s @*/
@@ -229,7 +229,7 @@ fprintf(stderr, "%p -- fd %p\n", s, s->fd);
     PyObject_Del((PyObject *)s);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmfd_alloc(PyTypeObject * subtype, int nitems)
        /*@*/
@@ -241,7 +241,7 @@ fprintf(stderr, "*** rpmfd_alloc(%p,%d) ret %p\n", subtype, nitems, s);
     return s;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static rpmfdObject * rpmfd_new(PyTypeObject * subtype, PyObject *args, PyObject *kwds)
        /*@*/
@@ -266,7 +266,7 @@ fprintf(stderr, "%p ++ fd %p\n", s, s->fd);
 static char rpmfd_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 PyTypeObject rpmfd_Type = {
index 142ff1b..23e2308 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef H_RPMFD_PY
 #define H_RPMFD_PY
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfd-py.h
  */
 
index 5da2798..b1beb62 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfi-py.c
  */
 
index 386b308..84b95b9 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmfi.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfi-py.h
  */
 
index ae3739c..91066f5 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfts-py.c
  */
 
@@ -267,7 +267,7 @@ rpmfts_debug(__FUNCTION__, s);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 /*@unchecked@*/ /*@observer@*/
@@ -505,7 +505,7 @@ static int rpmfts_print(rpmftsObject * s,  FILE * fp, /*@unused@*/ int flags)
 static char rpmfts_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 PyTypeObject rpmfts_Type = {
index 56ebfdf..90aa2af 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef H_RPMFTS_PY
 #define H_RPMFTS_PY
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmfts-py.h
  */
 
index 48d6518..aa37b2b 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmmi-py.c
  */
 
@@ -180,7 +180,7 @@ rpmmi_Pattern(rpmmiObject * s, PyObject * args)
     
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 /*@unchecked@*/ /*@observer@*/
@@ -199,7 +199,7 @@ static struct PyMethodDef rpmmi_methods[] = {
 };
 /*@=fullinitblock@*/
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmmi_dealloc(/*@only@*/ /*@null@*/ rpmmiObject * s)
        /*@globals rpmGlobalMacroContext @*/
@@ -211,7 +211,7 @@ static void rpmmi_dealloc(/*@only@*/ /*@null@*/ rpmmiObject * s)
     }
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmmi_getattr (rpmmiObject *s, char *name)
        /*@*/
@@ -225,7 +225,7 @@ static PyObject * rpmmi_getattr (rpmmiObject *s, char *name)
 static char rpmmi_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 PyTypeObject rpmmi_Type = {
index 9d67721..712b12f 100644 (file)
@@ -1,15 +1,15 @@
 #ifndef H_RPMMI_PY
 #define H_RPMMI_PY
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmmi-py.h
  */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 typedef struct rpmmiObject_s rpmmiObject;
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 struct rpmmiObject_s {
     PyObject_HEAD
index 9a742ce..9897868 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmmodule.c
  */
 
index a2aa860..a896ca3 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmrc-py.c
  */
 
@@ -249,7 +249,7 @@ fprintf(stderr, "*** rpmrc_next(%p[%s],%p)\n", s, lbl(s), args);
     return NULL;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int rpmrc_init(PyObject * s, PyObject *args, PyObject *kwds)
        /*@*/
@@ -261,7 +261,7 @@ fprintf(stderr, "*** rpmrc_init(%p[%s],%p,%p)\n", s, lbl(s), args, kwds);
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmrc_free(PyObject * s)
        /*@*/
@@ -271,7 +271,7 @@ fprintf(stderr, "*** rpmrc_free(%p[%s])\n", s, lbl(s));
    _PyObject_GC_Del(s);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmrc_alloc(PyTypeObject * subtype, int nitems)
        /*@*/
@@ -283,7 +283,7 @@ fprintf(stderr, "*** rpmrc_alloc(%p[%s},%d) ret %p[%s]\n", subtype, lbl(subtype)
     return (PyObject *) ns;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmrc_new(PyTypeObject * subtype, PyObject *args, PyObject *kwds)
        /*@*/
@@ -322,7 +322,7 @@ static struct PyMethodDef rpmrc_methods[] = {
 };
 /*@=fullinitblock@*/
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 #if Py_TPFLAGS_HAVE_ITER
index 4786993..788ba3b 100644 (file)
@@ -1,15 +1,15 @@
 #ifndef H_RPMRC_PY
 #define H_RPMRC_PY
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmrc-py.h
  */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 typedef struct rpmrcObject_s rpmrcObject;
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 struct rpmrcObject_s {
 #if Py_TPFLAGS_HAVE_ITER       /* XXX backport to python-1.5.2 */
index 31556dd..cdf6bde 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmte-py.c
  */
 
@@ -289,7 +289,7 @@ rpmte_FI(rpmteObject * s, PyObject * args)
     return (PyObject *) rpmfi_Wrap(rpmfiLink(fi, "rpmte_FI"));
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 /*@unchecked@*/ /*@observer@*/
@@ -372,7 +372,7 @@ rpmte_print(rpmteObject * s, FILE * fp, /*@unused@*/ int flags)
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmte_getattr(rpmteObject * o, char * name)
        /*@*/
@@ -386,7 +386,7 @@ static PyObject * rpmte_getattr(rpmteObject * o, char * name)
 static char rpmte_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 PyTypeObject rpmte_Type = {
index 3bce935..54aa7c5 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmte.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmte-py.h
  */
 
index bc3aecf..9ac54c3 100644 (file)
@@ -1,4 +1,4 @@
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmts-py.c
  */
 
@@ -157,7 +157,7 @@ static int _rpmts_debug = 0;
  *     the ts.run() method.
  */
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 struct rpmtsCallbackType_s {
     PyObject * cb;
@@ -167,7 +167,7 @@ struct rpmtsCallbackType_s {
     PyThreadState *_save;
 };
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_Debug(/*@unused@*/ rpmtsObject * s, PyObject * args)
@@ -183,7 +183,7 @@ fprintf(stderr, "*** rpmts_Debug(%p) ts %p\n", s, s->ts);
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  * Add package to universe of possible packages to install in transaction set.
  * @param ts           transaction set
  * @param h            header
@@ -208,7 +208,7 @@ fprintf(stderr, "\tAddAvailable(%p) list %p\n", ts, ts->availablePackages);
 
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_AddInstall(rpmtsObject * s, PyObject * args)
@@ -252,7 +252,7 @@ fprintf(stderr, "*** rpmts_AddInstall(%p,%p,%p,%s) ts %p\n", s, h, key, how, s->
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  * @todo Permit finer control (i.e. not just --allmatches) of deleted elments.
  */
 static PyObject *
@@ -313,7 +313,7 @@ fprintf(stderr, "*** rpmts_AddErase(%p) ts %p\n", s, s->ts);
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int
 rpmts_SolveCallback(rpmts ts, rpmds ds, const void * data)
@@ -350,7 +350,7 @@ fprintf(stderr, "*** rpmts_SolveCallback(%p,%p,%p) \"%s\"\n", ts, ds, data, rpmd
     return res;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_Check(rpmtsObject * s, PyObject * args)
@@ -463,7 +463,7 @@ fprintf(stderr, "*** rpmts_Check(%p) ts %p cb %p\n", s, s->ts, cbInfo.cb);
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_Order(rpmtsObject * s, PyObject * args)
@@ -483,7 +483,7 @@ fprintf(stderr, "*** rpmts_Order(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_Clean(rpmtsObject * s, PyObject * args)
@@ -501,7 +501,7 @@ fprintf(stderr, "*** rpmts_Clean(%p) ts %p\n", s, s->ts);
     return Py_None;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_IDTXload(rpmtsObject * s, PyObject * args)
@@ -542,7 +542,7 @@ fprintf(stderr, "*** rpmts_IDTXload(%p) ts %p\n", s, s->ts);
     return result;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_IDTXglob(rpmtsObject * s, PyObject * args)
@@ -586,7 +586,7 @@ fprintf(stderr, "*** rpmts_IDTXglob(%p) ts %p\n", s, s->ts);
     return result;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_Rollback(rpmtsObject * s, PyObject * args)
@@ -622,7 +622,7 @@ fprintf(stderr, "*** rpmts_Rollback(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_OpenDB(rpmtsObject * s, PyObject * args)
@@ -641,7 +641,7 @@ fprintf(stderr, "*** rpmts_OpenDB(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rpmtsOpenDB(s->ts, s->ts->dbmode));
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_CloseDB(rpmtsObject * s, PyObject * args)
@@ -660,7 +660,7 @@ fprintf(stderr, "*** rpmts_CloseDB(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_InitDB(rpmtsObject * s, PyObject * args)
@@ -681,7 +681,7 @@ fprintf(stderr, "*** rpmts_InitDB(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_RebuildDB(rpmtsObject * s, PyObject * args)
@@ -702,7 +702,7 @@ fprintf(stderr, "*** rpmts_RebuildDB(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_VerifyDB(rpmtsObject * s, PyObject * args)
@@ -723,7 +723,7 @@ fprintf(stderr, "*** rpmts_VerifyDB(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_HdrFromFdno(rpmtsObject * s, PyObject * args)
@@ -770,7 +770,7 @@ fprintf(stderr, "*** rpmts_HdrFromFdno(%p) ts %p rc %d\n", s, s->ts, rpmrc);
     return result;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_HdrCheck(rpmtsObject * s, PyObject * args)
@@ -825,7 +825,7 @@ fprintf(stderr, "*** rpmts_HdrCheck(%p) ts %p\n", s, s->ts);
     return result;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_SetVSFlags(rpmtsObject * s, PyObject * args)
@@ -843,7 +843,7 @@ fprintf(stderr, "*** rpmts_SetVSFlags(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rpmtsSetVSFlags(s->ts, vsflags));
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_SetColor(rpmtsObject * s, PyObject * args)
@@ -861,7 +861,7 @@ fprintf(stderr, "*** rpmts_SetColor(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rpmtsSetColor(s->ts, tscolor));
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_PgpPrtPkts(rpmtsObject * s, PyObject * args)
@@ -893,7 +893,7 @@ fprintf(stderr, "*** rpmts_PgpPrtPkts(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_PgpImportPubkey(rpmtsObject * s, PyObject * args)
@@ -925,7 +925,7 @@ fprintf(stderr, "*** rpmts_PgpImportPubkey(%p) ts %p\n", s, s->ts);
     return Py_BuildValue("i", rc);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject *
 rpmts_GetKeys(rpmtsObject * s, PyObject * args)
@@ -962,7 +962,7 @@ fprintf(stderr, "*** rpmts_GetKeys(%p) ts %p\n", s, s->ts);
     return tuple;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void *
 rpmtsCallback(/*@unused@*/ const void * hd, const rpmCallbackType what,
@@ -1040,7 +1040,7 @@ fprintf(stderr, "\t%ld:%ld key %p\n", amount, total, pkgKey);
     return NULL;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_SetFlags(rpmtsObject * s, PyObject * args)
        /*@modifies s @*/
@@ -1056,7 +1056,7 @@ fprintf(stderr, "*** rpmts_SetFlags(%p) ts %p transFlags %x\n", s, s->ts, transF
     return Py_BuildValue("i", rpmtsSetFlags(s->ts, transFlags));
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_SetProbFilter(rpmtsObject * s, PyObject * args)
        /*@modifies s @*/
@@ -1076,7 +1076,7 @@ fprintf(stderr, "*** rpmts_SetProbFilter(%p) ts %p ignoreSet %x\n", s, s->ts, ig
     return Py_BuildValue("i", oignoreSet);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_Run(rpmtsObject * s, PyObject * args)
        /*@globals rpmGlobalMacroContext, _Py_NoneStruct @*/
@@ -1246,7 +1246,7 @@ fprintf(stderr, "*** rpmts_Match(%p) ts %p\n", s, s->ts);
     return rpmmi_Wrap( rpmtsInitIterator(s->ts, tag, key, len) );
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 /*@unchecked@*/ /*@observer@*/
@@ -1337,7 +1337,7 @@ static struct PyMethodDef rpmts_methods[] = {
 };
 /*@=fullinitblock@*/
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmts_dealloc(/*@only@*/ rpmtsObject * s)
        /*@modifies *s @*/
@@ -1354,7 +1354,7 @@ fprintf(stderr, "%p -- ts %p db %p\n", s, s->ts, s->ts->rdb);
     PyObject_Del((PyObject *)s);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_getattr(rpmtsObject * o, char * name)
        /*@*/
@@ -1362,7 +1362,7 @@ static PyObject * rpmts_getattr(rpmtsObject * o, char * name)
     return Py_FindMethod(rpmts_methods, (PyObject *) o, name);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int rpmts_setattr(rpmtsObject * o, char * name, PyObject * val)
        /*@modifies o @*/
@@ -1386,7 +1386,7 @@ static int rpmts_setattr(rpmtsObject * o, char * name, PyObject * val)
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static int rpmts_init(rpmtsObject * s, PyObject *args, PyObject *kwds)
        /*@globals rpmGlobalMacroContext @*/
@@ -1412,7 +1412,7 @@ fprintf(stderr, "*** rpmts_init(%p,%p,%p)\n", s, args, kwds);
     return 0;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static void rpmts_free(/*@only@*/ rpmtsObject * s)
        /*@modifies s @*/
@@ -1431,7 +1431,7 @@ fprintf(stderr, "%p -- ts %p db %p\n", s, s->ts, s->ts->rdb);
    PyObject_Del((PyObject *)s);
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_alloc(PyTypeObject * subtype, int nitems)
        /*@*/
@@ -1443,7 +1443,7 @@ fprintf(stderr, "*** rpmts_alloc(%p,%d) ret %p\n", subtype, nitems, s);
     return s;
 }
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 static PyObject * rpmts_new(PyTypeObject * subtype, PyObject *args, PyObject *kwds)
        /*@globals rpmGlobalMacroContext @*/
@@ -1469,7 +1469,7 @@ fprintf(stderr, "%p ++ ts %p db %p\n", s, s->ts, s->ts->rdb);
 static char rpmts_doc[] =
 "";
 
-/** \ingroup python
+/** \ingroup py_c  
  */
 /*@-fullinitblock@*/
 PyTypeObject rpmts_Type = {
index 9ca496d..a84e037 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "rpmts.h"
 
-/** \ingroup python
+/** \ingroup py_c  
  * \file python/rpmts-py.h
  */