home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / comm / tcp / amitcp / src / devtools / rpcgen / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-09  |  2.7 KB  |  80 lines

  1.  
  2. /* rpc_clntout.c */
  3. void write_stubs ( void );
  4. void printarglist ( proc_list *proc , char *addargname , char *addargtype );
  5.  
  6. /* rpc_cout.c */
  7. void emit ( definition *def );
  8. void emit_inline ( declaration *decl , int flag );
  9. void emit_single_in_line ( declaration *decl , int flag , relation rel );
  10. char *upcase ( char *str );
  11.  
  12. /* rpc_hout.c */
  13. void print_datadef ( definition *def );
  14. void print_funcdef ( definition *def );
  15. void pxdrfuncdecl ( char *name , int pointerp );
  16. void pprocdef ( proc_list *proc , version_list *vp , char *addargtype , int server_p , int mode );
  17. void pdeclaration ( char *name , declaration *dec , int tab , char *separator );
  18.  
  19. /* rpc_main.c */
  20. int main ( int argc , char *argv []);
  21. void close_on_exit ( void );
  22. void c_initialize ( void );
  23. char *generate_guard ( char *pathname );
  24.  
  25. /* rpc_parse.c */
  26. definition *get_definition ( void );
  27.  
  28. /* rpc_sample.c */
  29. void write_sample_svc ( definition *def );
  30. int write_sample_clnt ( definition *def );
  31. void add_sample_msg ( void );
  32. void write_sample_clnt_main ( void );
  33.  
  34. /* rpc_scan.c */
  35. void scan ( tok_kind expect , token *tokp );
  36. void scan2 ( tok_kind expect1 , tok_kind expect2 , token *tokp );
  37. void scan3 ( tok_kind expect1 , tok_kind expect2 , tok_kind expect3 , token *tokp );
  38. void scan_num ( token *tokp );
  39. void peek ( token *tokp );
  40. int peekscan ( tok_kind expect , token *tokp );
  41. void get_token ( token *tokp );
  42.  
  43. /* rpc_svcout.c */
  44. void internal_proctype ( proc_list *plist );
  45. void write_most ( char *infile , int netflag , int nomain );
  46. void write_netid_register ( char *transp );
  47. void write_nettype_register ( char *transp );
  48. void write_rest ( void );
  49. void write_programs ( char *storage );
  50. int nullproc ( proc_list *proc );
  51. void write_svc_aux ( int nomain );
  52. void write_msg_out ( void );
  53. void write_inetd_register ( char *transp );
  54.  
  55. /* rpc_tblout.c */
  56. void write_tables ( void );
  57.  
  58. /* rpc_util.c */
  59. void reinitialize ( void );
  60. int streq ( char *a , char *b );
  61. definition *findval ( list *lst , char *val , int (*cmp )(definition *,char *));
  62. void storeval ( list **lstp , definition *val );
  63. char *fixtype ( char *type );
  64. char *stringfix ( char *type );
  65. void ptype ( char *prefix , char *type , int follow );
  66. int isvectordef ( char *type , relation rel );
  67. char *locase ( char *str );
  68. void pvname_svc ( char *pname , char *vnum );
  69. void pvname ( char *pname , char *vnum );
  70. void error ( char *msg );
  71. void crash ( void );
  72. void record_open ( char *file );
  73. void expected1 ( tok_kind exp1 );
  74. void expected2 ( tok_kind exp1 , tok_kind exp2 );
  75. void expected3 ( tok_kind exp1 , tok_kind exp2 , tok_kind exp3 );
  76. void tabify ( FILE *f , int tab );
  77. char *make_argname ( char *pname , char *vname );
  78. void add_type ( int len , char *type );
  79. bas_type *find_type ( char *type );
  80.