spkg
—
developer's documentation
Main Page
Modules
Data Structures
Files
Related Pages
Misc API
_debug
_inform
_notice
_warning
gen_slackdesc
iter_buf_lines
iter_str_lines
msg
msg_setup
parse_cleanuplink
parse_createlink
parse_pkgname
parse_slackdesc
path_get_elements
path_sanitize_slashes
path_simplify
sanitize_root_path
sig_break
sig_trap
sys_file_mtime
sys_file_type
sys_file_type_stat
sys_ftype
sys_lock_del
sys_lock_new
sys_lock_put
sys_lock_trywait
sys_mkdir_p
sys_rm_rf
sys_sigblock
sys_sigunblock
sys_write_buffer_to_file
G_BEGIN_DECLS gchar* parse_pkgname
(
const gchar *
path
,
guint
elem
)
Parse package name into parts.
Parameters:
path
Package path.
elem
Package name element.
0 path
1 shortname
2 version
3 arch
4 build
5 fullname
6 check (returns -1 if ok)
Returns:
Requested package name element (g_malloced), 0 on error.
Documentation for
spkg
, Sun Jul 23 13:12:53 2006.