libalpm
Arch Linux Package Manager Library
Functions
alpm.c File Reference
#include <curl/curl.h>
#include "alpm.h"
#include "alpm_list.h"
#include "handle.h"
#include "log.h"
#include "util.h"
Include dependency graph for alpm.c:

Go to the source code of this file.

Functions

alpm_handle_talpm_initialize (const char *root, const char *dbpath, alpm_errno_t *err)
 Initializes the library.
int alpm_release (alpm_handle_t *myhandle)
 Release the library.
const char * alpm_version (void)
 Get the version of library.
enum alpm_caps alpm_capabilities (void)
 Get the capabilities of the library.

Function Documentation

enum alpm_caps alpm_capabilities ( void  )

Get the capabilities of the library.

Returns:
a bitmask of the capabilities

Definition at line 140 of file alpm.c.

References ALPM_CAPABILITY_DOWNLOADER, ALPM_CAPABILITY_NLS, and ALPM_CAPABILITY_SIGNATURES.

Referenced by config_new().

Here is the caller graph for this function:

const char* alpm_version ( void  )

Get the version of library.

Returns:
the library version, e.g. "6.0.4"

Definition at line 132 of file alpm.c.