File tree 2 files changed +0
-48
lines changed
2 files changed +0
-48
lines changed Original file line number Diff line number Diff line change @@ -83,26 +83,6 @@ struct container *get_size(off_t size, char *prefix);
83
83
* @param prefix: a container prefix
84
84
* @returns a pointer to a new container
85
85
*/
86
- struct container * get_required_by (alpm_pkg_t * pkg , char * prefix );
87
-
88
- /*
89
- * Creates a container that holds an array of strings representing the
90
- * packages optionally required by the given package
91
- *
92
- * @param pkg: an alpm package
93
- * @param prefix: a container prefix
94
- * @returns a pointer to a new container
95
- */
96
- struct container * get_optional_for (alpm_pkg_t * pkg , char * prefix );
97
-
98
- /*
99
- * Creates a container that holds a string representing the name of a
100
- * alpm database
101
- *
102
- * @param db: an alpm database
103
- * @param prefix: a container prefix
104
- * @returns a pointer to a new container
105
- */
106
86
struct container * get_dbname (alpm_db_t * db , char * prefix );
107
87
108
88
/*
Original file line number Diff line number Diff line change @@ -94,34 +94,6 @@ struct container *get_size(off_t size, char *prefix)
94
94
return c ;
95
95
}
96
96
97
- struct container * get_required_by (alpm_pkg_t * pkg , char * prefix )
98
- {
99
- struct container * c = empty_container (prefix );
100
- alpm_list_t * content = alpm_pkg_compute_requiredby (pkg );
101
- alpm_list_t * v ;
102
-
103
- FOREACH_ALPM_ITEM (v , content )
104
- put_str (c , v -> data );
105
-
106
- alpm_list_free (content );
107
-
108
- return c ;
109
- }
110
-
111
- struct container * get_optional_for (alpm_pkg_t * pkg , char * prefix )
112
- {
113
- struct container * c = empty_container (prefix );
114
- alpm_list_t * content = alpm_pkg_compute_optionalfor (pkg );
115
- alpm_list_t * v ;
116
-
117
- FOREACH_ALPM_ITEM (v , content )
118
- put_str (c , v -> data );
119
-
120
- alpm_list_free (content );
121
-
122
- return c ;
123
- }
124
-
125
97
struct container * get_dbname (alpm_db_t * db , char * prefix )
126
98
{
127
99
return str_to_container ((char * )alpm_db_get_name (db ), prefix );
You can’t perform that action at this time.
0 commit comments