#include <libpackman/package.h>
Go to the source code of this file.
Data Structures | |
| struct | _PmBatch |
| A list of packages. More... | |
PmBatch (De)allocation Functions | |
| PmBatch * | pmNewBatch (void) |
| Creates a new PmBatch structure. | |
| void | pmDestroyBatch (PmBatch *batch) |
| Destroys a PmBatch structure. | |
Batch Modification Functions | |
| void | pmBatchAddPackage (PmBatch *batch, PmPackage *package) |
| Adds a package to a batch. | |
Typedefs | |
| typedef _PmBatch | PmBatch |
| PmBatch. | |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
PmBatch.
|
|
||||||||||||
|
Adds a package to a batch. Destroying the package will result in segfaults. To free up the memory, call pmDestroyBatch().
|
|
|
Destroys a PmBatch structure. Destroying the batch is the only way to free up the memory used by all the packages stored inside.
|
|
|
Creates a new PmBatch structure.
|
1.2.15-20020430