| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | cvs.h | 29 #ifndef PROTO 31 #define PROTO(ARGS) ARGS macro 33 #define PROTO(ARGS) () macro 406 extern char *emptydir_name PROTO ((void)); 407 extern int safe_location PROTO ((void)); 426 int RCS_merge PROTO((RCSNode *, char *, char *, char *, char *, char *)); 435 extern int RCS_exec_rcsdiff PROTO ((RCSNode *rcsfile, 440 extern int diff_exec PROTO ((char *file1, char *file2, 443 extern int diff_execv PROTO ((char *file1, char *file2, 451 DBM *open_module PROTO((void)); [all …]
|
| H A D | rcs.h | 176 typedef void (*RCSCHECKOUTPROC) PROTO ((void *, const char *, size_t)); 188 RCSNode *RCS_parse PROTO((const char *file, const char *repos)); 189 RCSNode *RCS_parsercsfile PROTO((char *rcsfile)); 190 void RCS_fully_parse PROTO((RCSNode *)); 191 void RCS_reparsercsfile PROTO((RCSNode *, FILE **, struct rcsbuffer *)); 192 extern int RCS_setattic PROTO ((RCSNode *, int)); 194 char *RCS_check_kflag PROTO((const char *arg)); 195 char *RCS_getdate PROTO((RCSNode * rcs, char *date, int force_tag_match)); 196 char *RCS_gettag PROTO((RCSNode * rcs, char *symtag, int force_tag_match, 198 int RCS_exist_rev PROTO((RCSNode *rcs, char *rev)); [all …]
|
| H A D | buffer.h | 38 int (*input) PROTO((void *closure, char *data, int need, int size, 44 int (*output) PROTO((void *closure, const char *data, int have, 49 int (*flush) PROTO((void *closure)); 56 int (*block) PROTO ((void *closure, int block)); 64 int (*shutdown) PROTO((void *closure)); 70 void (*memory_error) PROTO((struct buffer *)); 100 typedef void (*BUFMEMERRPROC) PROTO ((struct buffer *)); 102 extern struct buffer *buf_initialize PROTO((int (*) (void *, char *, int, 111 extern void buf_free PROTO((struct buffer *)); 112 extern struct buffer *buf_nonio_initialize PROTO((void (*) (struct buffer *))); [all …]
|
| H A D | client.h | 4 extern char *mode_to_string PROTO((mode_t)); 5 extern int change_mode PROTO((char *, char *, int)); 59 void connect_to_pserver PROTO ((int *tofdp, int* fromfdp, int verify_only, 67 extern void pserver_authenticate_connection PROTO ((void)); 71 extern void kserver_authenticate_connection PROTO ((void)); 75 void send_to_server PROTO((char *str, size_t len)); 76 void read_from_server PROTO((char *buf, size_t len)); 79 int supported_request PROTO ((char *)); 80 void option_with_arg PROTO((char *option, char *arg)); 83 extern int get_responses_and_close PROTO((void)); [all …]
|
| H A D | server.h | 32 extern int server PROTO((int argc, char **argv)); 35 extern void server_pathname_check PROTO ((char *)); 39 PROTO((char *name, char *version, char *timestamp, 44 extern void server_modtime PROTO ((struct file_info *finfo, 51 extern void server_scratch PROTO((char *name)); 57 extern void server_scratch_entry_only PROTO((void)); 65 PROTO((char *file, char *update_dir, char *repository)); 68 PROTO((char *file, char *update_dir, char *repository, char *newfile)); 95 PROTO((struct file_info *finfo, Vers_TS *vers, 100 extern int server_use_rcs_diff PROTO((void)); [all …]
|
| H A D | hash.h | 46 List *getlist PROTO((void)); 47 Node *findnode PROTO((List * list, const char *key)); 48 Node *findnode_fn PROTO((List * list, const char *key)); 49 Node *getnode PROTO((void)); 50 int insert_before PROTO((List * list, Node * marker, Node * p)); 51 int addnode PROTO((List * list, Node * p)); 52 int addnode_at_front PROTO((List * list, Node * p)); 53 int walklist PROTO((List * list, int (*)(Node *n, void *closure), void *closure)); 54 int list_isempty PROTO ((List *list)); 55 void dellist PROTO((List ** listp)); [all …]
|
| H A D | fileattr.h | 59 extern void fileattr_startdir PROTO ((char *repos)); 68 extern char *fileattr_get PROTO ((const char *filename, const char *attrname)); 72 extern char *fileattr_get0 PROTO ((const char *filename, 103 extern char *fileattr_modify PROTO ((char *list, const char *attrname, 111 extern void fileattr_set PROTO ((const char *filename, const char *attrname, 118 extern char *fileattr_getall PROTO ((const char *filename)); 123 extern void fileattr_setall PROTO ((const char *filename, const char *attrs)); 127 extern void fileattr_newfile PROTO ((const char *filename)); 130 extern void fileattr_write PROTO ((void)); 133 extern void fileattr_free PROTO ((void));
|
| H A D | edit.h | 13 extern int watch_on PROTO ((int argc, char **argv)); 14 extern int watch_off PROTO ((int argc, char **argv)); 20 extern void notify_check PROTO ((char *repository, char *update_dir)); 28 extern void notify_do PROTO ((int type, char *filename, char *who, 34 extern void editor_set PROTO ((char *filename, char *editor, char *val)); 38 extern void mark_up_to_date PROTO ((char *file));
|
| H A D | myndbm.h | 38 DBM *mydbm_open PROTO((char *file, int flags, int mode)); 39 void mydbm_close PROTO((DBM * db)); 40 datum mydbm_fetch PROTO((DBM * db, datum key)); 41 datum mydbm_firstkey PROTO((DBM * db)); 42 datum mydbm_nextkey PROTO((DBM * db)); 43 extern int mydbm_store PROTO ((DBM *, datum, datum, int));
|
| H A D | hardlink.h | 29 Node *lookup_file_by_inode PROTO ((const char *)); 30 void update_hardlink_info PROTO ((const char *)); 31 List *list_linked_files_on_disk PROTO ((char *)); 32 int compare_linkage_lists PROTO ((List *, List *)); 33 int find_checkedout_proc PROTO ((Node *, void *));
|
| H A D | error.h | 19 #ifndef PROTO 21 #define PROTO(ARGS) ARGS macro 23 #define PROTO(ARGS) () macro 49 extern void error_exit PROTO ((void));
|
| H A D | client.c | 86 static int connect_to_gserver PROTO((int, const char *)); 90 static void add_prune_candidate PROTO((char *)); 93 int add PROTO((int argc, char **argv)); 94 int admin PROTO((int argc, char **argv)); 95 int checkout PROTO((int argc, char **argv)); 96 int commit PROTO((int argc, char **argv)); 97 int diff PROTO((int argc, char **argv)); 98 int history PROTO((int argc, char **argv)); 99 int import PROTO((int argc, char **argv)); 100 int cvslog PROTO((int argc, char **argv)); [all …]
|
| H A D | buffer.c | 19 static void buf_default_memory_error PROTO ((struct buffer *)); 20 static void allocate_buffer_datas PROTO((void)); 21 static struct buffer_data *get_buffer_data PROTO((void)); 27 int (*input) PROTO((void *, char *, int, int, int *)); 28 int (*output) PROTO((void *, const char *, int, int *)); 29 int (*flush) PROTO((void *)); 30 int (*block) PROTO((void *, int)); 31 int (*shutdown) PROTO((void *)); 32 void (*memory) PROTO((struct buffer *)); 69 void (*memory) PROTO((struct buffer *)); [all …]
|
| H A D | rcscmds.c | 54 static void RCS_output_diff_options PROTO ((char *, char *, char *, char *)); 75 static void call_diff_add_arg PROTO ((const char *)); 76 static void call_diff_setup PROTO ((const char *prog)); 77 static int call_diff PROTO ((char *out)); 78 static int call_diff3 PROTO ((char *out)); 80 static void call_diff_write_output PROTO((const char *, size_t)); 81 static void call_diff_flush_output PROTO((void)); 82 static void call_diff_write_stdout PROTO((const char *)); 83 static void call_diff_error PROTO((const char *, const char *, const char *)); 201 (void (*) PROTO((const char *, size_t))) NULL, [all …]
|
| H A D | lock.c | 93 static void remove_locks PROTO((void)); 94 static int readers_exist PROTO((char *repository)); 95 static int set_lock PROTO ((struct lock *lock, int will_wait)); 96 static void clear_lock PROTO ((struct lock *lock)); 97 static void set_lockers_name PROTO((struct stat *statp)); 98 static int set_writelock_proc PROTO((Node * p, void *closure)); 99 static int unlock_proc PROTO((Node * p, void *closure)); 100 static int write_lock PROTO ((struct lock *lock)); 101 static void lock_simple_remove PROTO ((struct lock *lock)); 102 static void lock_wait PROTO((char *repository)); [all …]
|
| H A D | watch.h | 48 extern void watch_modify_watchers PROTO ((char *file, 51 extern int watch_add PROTO ((int argc, char **argv)); 52 extern int watch_remove PROTO ((int argc, char **argv));
|
| H A D | update.h | 13 int do_update PROTO((int argc, char *argv[], char *xoptions, char *xtag, 18 int joining PROTO((void)); 19 extern int isemptydir PROTO ((char *dir, int might_not_exist));
|
| H A D | hash.c | 20 static void freenode_mem PROTO((Node * p)); 359 int (*proc) PROTO ((Node *, void *)); 381 static int (*client_comp) PROTO ((const Node *, const Node *)); 382 static int qsort_comp PROTO ((const void *, const void *)); 400 int (*comp) PROTO ((const Node *, const Node *)); 452 static char *nodetypestring PROTO ((Ntype)); 479 static int printnode PROTO ((Node *, void *)); 500 void printlist PROTO ((List *));
|
| H A D | log.c | 112 static int rlog_proc PROTO((int argc, char **argv, char *xwhere, 115 static Dtype log_dirproc PROTO ((void *callerdat, char *dir, 118 static int log_fileproc PROTO ((void *callerdat, struct file_info *finfo)); 119 static struct option_revlist *log_parse_revlist PROTO ((const char *)); 120 static void log_parse_date PROTO ((struct log_data *, const char *)); 121 static void log_parse_list PROTO ((List **, const char *)); 122 static struct revlist *log_expand_revlist PROTO ((RCSNode *, 125 static void log_free_revlist PROTO ((struct revlist *)); 126 static int log_version_requested PROTO ((struct log_data *, struct revlist *, 128 static int log_symbol PROTO ((Node *, void *)); [all …]
|
| /openbsd-src/usr.bin/lex/ |
| H A D | flexdef.h | 95 #ifndef PROTO 97 #define PROTO(proto) proto macro 99 #define PROTO(proto) () macro 641 void *allocate_array PROTO ((int, size_t)); 642 void *reallocate_array PROTO ((void *, int, size_t)); 700 extern void ccladd PROTO ((int, int)); /* add a single character to a ccl */ 701 extern int cclinit PROTO ((void)); /* make an empty ccl */ 702 extern void cclnegate PROTO ((int)); /* negate a ccl */ 707 extern void list_character_set PROTO ((FILE *, int[])); 713 extern void check_for_backing_up PROTO ((in [all...] |
| H A D | scanopt.h | 52 #ifndef PROTO 53 #define PROTO(args) args macro 90 scanopt_t *scanopt_init PROTO ((const optspec_t * options, 94 void scanopt_destroy PROTO ((scanopt_t * scanner)); 105 PROTO ( 125 PROTO (
|
| /openbsd-src/lib/libfuse/ |
| H A D | fuse_private.h | 149 #define PROTO(x) __dso_hidden typeof(x) x asm("__"#x) macro 152 PROTO(fuse_daemonize); 153 PROTO(fuse_destroy); 154 PROTO(fuse_get_context); 155 PROTO(fuse_get_session); 156 PROTO(fuse_loop); 157 PROTO(fuse_mount); 158 PROTO(fuse_new); 159 PROTO(fuse_opt_add_arg); 160 PROTO(fuse_opt_free_arg [all...] |
| /openbsd-src/gnu/usr.bin/cvs/lib/ |
| H A D | md5.h | 19 void cvs_MD5Init PROTO ((struct cvs_MD5Context *context)); 20 void cvs_MD5Update PROTO ((struct cvs_MD5Context *context, 22 void cvs_MD5Final PROTO ((unsigned char digest[16], 24 void cvs_MD5Transform PROTO ((cvs_uint32 buf[4], const unsigned char in[64]));
|
| H A D | sighandle.c | 41 #ifndef PROTO 43 #define PROTO(ARGS) ARGS macro 45 #define PROTO(ARGS) () macro 87 static RETSIGTYPE (**SIG_defaults) PROTO ((int)); 132 SIG_defaults = (RETSIGTYPE (**) PROTO ((int)) ) in SIG_init() 133 calloc(i, sizeof(RETSIGTYPE (**) PROTO ((int)) )); in SIG_init() 147 static RETSIGTYPE SIG_handle PROTO ((int));
|
| /openbsd-src/lib/libkvm/ |
| H A D | kvm_private.h | 116 #define PROTO(x) __dso_hidden typeof(x) x asm("__"#x) macro 119 PROTO(kvm_close); 120 PROTO(kvm_nlist); 121 PROTO(kvm_read);
|