Lines Matching defs:__P
155 #define __P(protos) protos
157 #define __P(protos) ()
165 extern int bl_create __P((int count_per_block, int struct_size,
167 extern char *bl_next_avail __P((int list_handle));
168 extern char *bl_get_record __P((int list_handle, int recno));
169 extern void bl_free __P((int list_handle));
170 extern int ar_create __P((int count_per_block, int struct_size,
172 extern char **ar_next_avail __P((int list_handle));
173 extern char **ar_get_head __P((int list_handle));
174 extern int ar_delete __P((int list_handle, int index));
175 extern void ar_free __P((int list_handle));
178 extern int set_ulimit __P((char *script, char *err_msg));
179 extern int clr_ulimit __P((void));
180 extern int assign_ulimit __P((char *fslimit));
183 extern void set_continue_not_ok __P((void));
184 extern int continue_is_ok __P((void));
185 extern int in_dryrun_mode __P((void));
186 extern int in_continue_mode __P((void));
187 extern void init_dryrunfile __P((char *dr_dir));
188 extern void init_contfile __P((char *cn_dir));
189 extern void set_dr_exitmsg __P((char *value));
190 extern void set_dr_info __P((int type, int value));
191 extern void write_dryrun_file __P((struct cfextra **extlist));
194 extern void regfiles_free __P((void));
197 extern int lockinst __P((char *util_name, char *pkg_name, char *place));
198 extern void lockupd __P((char *place));
199 extern void unlockinst __P((void));
201 extern char *pathdup __P((char *s));
202 extern char *pathalloc __P((int n));
203 extern char *fixpath __P((char *path));
204 extern char *get_info_basedir __P((void));
205 extern char *get_basedir __P((void));
206 extern char *get_client_basedir __P((void));
207 extern int set_basedirs __P((int reloc, char *adm_basedir,
209 extern int eval_path __P((char **server_ptr, char **client_ptr,
211 extern int get_orig_offset __P((void));
212 extern char *get_inst_root __P((void));
213 extern char *get_mount_point __P((uint32_t n));
214 extern char *get_remote_path __P((uint32_t n));
215 extern void set_env_cbdir __P((void));
216 extern int set_inst_root __P((char *path));
217 extern void put_path_params __P((void));
218 extern int mkpath __P((char *p));
219 extern void mkbasedir __P((int flag, char *path));
220 extern int is_an_inst_root __P((void));
221 extern int is_a_basedir __P((void));
222 extern int is_a_cl_basedir __P((void));
223 extern int is_relocatable __P((void));
224 extern char *orig_path __P((char *path));
225 extern char *orig_path_ptr __P((char *path));
226 extern char *qreason __P((int caller, int retcode, int started,
228 extern char *qstrdup __P((char *s));
229 extern char *srcpath __P((char *d, char *p, int part, int nparts));
230 extern char *trans_srcp_pi __P((char *local_path));
231 extern int copyf __P((char *from, char *to, time_t mytime));
232 extern int copyFile __P((int, int, char *, char *, struct stat *, long));
233 extern int openLocal __P((char *a_path, int a_oflag, char *a_tmpdir));
234 extern int dockdeps __P((char *depfile, int removeFlag,
236 extern int finalck __P((struct cfent *ept, int attrchg, int contchg,
240 extern void setUpdate __P((void));
241 extern int isUpdate __P((void));
244 extern int get_mntinfo __P((int map_client, char *vfstab_file));
245 extern uint32_t fsys __P((char *path));
246 extern struct fstable *get_fs_entry __P((uint32_t n));
247 extern int mount_client __P((void));
248 extern int unmount_client __P((void));
249 extern uint32_t resolved_fsys __P((char *path));
250 extern char *get_server_host __P((uint32_t n));
251 extern char *server_map __P((char *path, uint32_t fsys_value));
252 extern int use_srvr_map __P((char *path, uint32_t *fsys_value));
253 extern int use_srvr_map_n __P((uint32_t n));
254 extern int is_fs_writeable __P((char *path, uint32_t *fsys_value));
255 extern int is_remote_fs __P((char *path, uint32_t *fsys_value));
256 extern int is_served __P((char *path, uint32_t *fsys_value));
257 extern int is_mounted __P((char *path, uint32_t *fsys_value));
258 extern int is_fs_writeable_n __P((uint32_t n));
259 extern int is_remote_fs_n __P((uint32_t n));
260 extern int is_served_n __P((uint32_t n));
261 extern int is_mounted_n __P((uint32_t n));
262 extern fsblkcnt_t get_blk_size_n __P((uint32_t n));
263 extern fsblkcnt_t get_frag_size_n __P((uint32_t n));
264 extern fsblkcnt_t get_blk_used_n __P((uint32_t n));
265 extern fsblkcnt_t get_blk_free_n __P((uint32_t n));
266 extern fsblkcnt_t get_inode_used_n __P((uint32_t n));
267 extern fsblkcnt_t get_inode_free_n __P((uint32_t n));
268 extern void set_blk_used_n __P((uint32_t n, fsblkcnt_t value));
269 extern char *get_source_name_n __P((uint32_t n));
270 extern char *get_fs_name_n __P((uint32_t n));
271 extern int load_fsentry __P((struct fstable *fs_entry, char *name,
273 extern int isreloc __P((char *pkginstdir));
274 extern int is_local_host __P((char *hostname));
275 extern void fs_tab_free __P((void));
278 extern int pkgdbmerg __P((PKGserver server, VFP_T *tmpvfp,
280 extern int files_installed __P((void));
283 extern int trunc_tcfile __P((int fd));
284 extern int ocfile __P((PKGserver *serverp, VFP_T **tmpvfp,
286 extern int swapcfile __P((PKGserver server, VFP_T **a_tmpvfp,
288 extern int set_cfdir __P((char *cfdir));
289 extern int socfile __P((PKGserver *server, boolean_t quiet));
290 extern int relslock __P((void));
291 extern int pkgWlock __P((int verbose));
292 extern int iscfile __P((void));
293 extern int vcfile __P((void));
295 extern fsblkcnt_t nblk __P((fsblkcnt_t size, ulong_t bsize,
297 extern struct cfent **procmap __P((VFP_T *vfp, int mapflag, char *ir));
298 extern void repl_cfent __P((struct cfent *new, struct cfent *old));
299 extern struct cfextra **pkgobjmap __P((VFP_T *vfp, int mapflag, char *ir));
300 extern void pkgobjinit __P((void));
301 extern int seed_pkgobjmap __P((struct cfextra *ext_entry, char *path,
303 extern int init_pkgobjspace __P((void));
306 extern void pinfo_free __P((void));
307 extern struct pinfo *eptstat __P((struct cfent *entry, char *pkg, char c));
311 extern void echo __P((char *a_fmt, ...));
313 extern void echoDebug __P((char *a_fmt, ...));
314 extern boolean_t echoGetFlag __P((void));
315 extern boolean_t echoDebugGetFlag __P((void));
316 extern boolean_t echoSetFlag __P((boolean_t a_debugFlag));
317 extern boolean_t echoDebugSetFlag __P((boolean_t a_debugFlag));
321 extern void ptext __P((FILE *fp, char *fmt, ...));
324 extern void putparam __P((char *param, char *value));
325 extern void getuserlocale __P((void));
326 extern void putuserlocale __P((void));
327 extern void putConditionInfo __P((char *, char *));
330 extern void setadminFile __P((char *file));
331 extern char *setadminSetting __P((char *a_paramName,
333 extern char *set_keystore_admin __P((void));
334 extern boolean_t get_proxy_port_admin __P((char **, ushort_t *));
335 extern boolean_t check_keystore_admin __P((char **));
336 extern int web_ck_retries __P((void));
337 extern int web_ck_timeout __P((void));
338 extern int web_ck_authentication __P((void));
341 extern char *cl_iscript __P((int idx));
342 extern char *cl_rscript __P((int idx));
343 extern void find_CAS __P((int CAS_type, char *bin_ptr, char *inst_ptr));
344 extern int setlist __P((struct cl_attr ***plist, char *slist));
345 extern void addlist __P((struct cl_attr ***plist, char *item));
346 extern char *cl_nam __P((int cl_idx));
348 extern int cl_getn __P((void));
349 extern int cl_idx __P((char *cl_nam));
350 extern void cl_sets __P((char *slist));
351 extern void cl_setl __P((struct cl_attr **cl_lst));
352 extern void cl_putl __P((char *parm_name, struct cl_attr **list));
353 extern int cl_deliscript __P((int i));
354 extern unsigned cl_svfy __P((int i));
355 extern unsigned cl_dvfy __P((int i));
356 extern unsigned cl_pthrel __P((int i));
359 extern int pkg_passphrase_cb __P((char *, int, int, void *));
360 extern void set_passarg __P((char *));
361 extern void set_prompt __P((char *));
364 extern void __P(export_client_env(char *));
365 extern void __P(set_partial_inst(void));
366 extern int __P(is_partial_inst(void));
367 extern void __P(set_depend_pkginfo_DB(boolean_t a_setting));
368 extern boolean_t __P(is_depend_pkginfo_DB(void));
369 extern void __P(disable_spool_create(void));
370 extern int __P(is_spool_create(void));