home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gcc / ixemulsrc.lha / ixemul / library / ixprotos.h < prev    next >
C/C++ Source or Header  |  1996-12-11  |  4KB  |  99 lines

  1. #ifndef _IXPROTOS_H_
  2. #define _IXPROTOS_H_
  3.  
  4. #ifndef CLIB_ALIB_PROTOS_H
  5. #include <clib/alib_protos.h>
  6. #endif
  7.  
  8. /* Miscellaneous prototypes */
  9. void    ix_panic(const char *msg, ...);
  10. void    ix_warning(const char *msg, ...);
  11. BPTR   *__load_seg(char *name, char **args);
  12. void    __wait_sync_packet(struct StandardPacket *sp);
  13. void    __wait_select_packet(struct StandardPacket *sp);
  14. BPTR    __plock(const char *file_name, int (*last_func)(), void *last_arg);
  15. void    close_libraries(void);
  16. int    __ioerr_to_errno(int ioerr);
  17. void    kfree(void *mem);
  18. void   *kmalloc(size_t size);
  19. void   *krealloc(void *mem, size_t size);
  20. void    vfork_own_malloc(void);
  21. void    __free_seg(BPTR *seg);
  22. void    ix_remove_sigwinch(void);
  23. void    ix_install_sigwinch(void);
  24. void    ix_lock_base(void);
  25. void    ix_unlock_base(void);
  26. void    resetfpu(void);
  27. void    all_free(void);
  28. void    _cli_parse(struct Process *this_proc, long alen, char *_aptr, int *argc, char ***argv);
  29. void    _psignal(struct Task *t, int sig);
  30. void    __Close(BPTR fh);
  31. int    __get_file(struct file *f);
  32. void    __release_file(struct file *f);
  33. int    __tioctl(struct file *f, unsigned int cmd, unsigned int inout, unsigned int arglen, unsigned int arg);
  34. BPTR    __lock(char *name, int mode);
  35. BPTR    __llock(char *name, int mode);
  36. int    __unlock(BPTR lock);
  37. int    ix_sleep(caddr_t chan, char *wmesg);
  38. void    setrun(struct Task *t);
  39. int    falloc(struct file **resultfp, int *resultfd);
  40. int    ufalloc(int want, int *result);
  41. void    ix_wakeup(u_int waitchan);
  42. int    __make_link(char *path, BPTR targ, int mode);
  43. void    __init_stdinouterr(void);
  44. void    init_buddy(void);
  45. void    configure_context_switch(void);
  46. void    siginit(struct user *p);
  47. void    __init_std_packet(struct StandardPacket *sp);
  48. int    issig(struct user *p);
  49. void    _psignalgrp(struct Process *proc, int signal);
  50. void   *b_alloc(int size, unsigned pool);
  51. void    b_free(void *fb, int size);
  52. int    __fstat(struct file *f);
  53. void    sendsig(struct user *p, sig_t catcher, int sig, int mask, unsigned code, void *addr);
  54. void    trapsignal(struct Task *t, int sig, unsigned code, void *addr);
  55. char   *convert_dir(struct file *f, char *name, int omask);
  56. void    timevaladd(struct timeval *t1, const struct timeval *t2);
  57. int     __fioctl(struct file *f, unsigned int cmd, unsigned int inout, unsigned int arglen, unsigned int arg);
  58. int    is_ixconfig(char *);
  59. void    psig(struct user *p, int sig);
  60. int    init_inet_daemon(int *argc, char ***argv);
  61. void    shutdown_inet_daemon(void);
  62. void    initstack(void);
  63. void    freestack(void);
  64. int    sigprocmask(int how, const sigset_t *mask, sigset_t *omask);
  65. int    kill(pid_t pid, int signo);
  66. void    set_dir_name_from_lock(BPTR lock);
  67. void    _clean_longjmp(jmp_buf, int);
  68. gid_t    getegid(void);
  69. uid_t    geteuid(void);
  70. struct Task *pfind(pid_t p);
  71. void    proc_reparent(struct Process *child, struct Process *parent);
  72. int    set_socket_stdio(int sock);
  73. void    send_death_msg(struct user *mu);
  74. void    stopped_process_handler(void);
  75. int     sigblock(int);
  76. int     sigsetmask(int);
  77. sig_t    signal(int, sig_t);
  78. pid_t    waitpid(pid_t, int *, int);
  79. int    _getsockopt __P((struct file *, int, int, void *, int *));
  80. void    _set_socket_params __P((struct file *,int));
  81. struct ixemul_base *ix_init(struct ixemul_base *ixbase);
  82. int     itimerdecr(struct itimerval *itp, int usec);
  83. void    addupc(u_int, struct uprof *, int);
  84. char  **dupvec(char **);
  85. char   *_findenv(char **env, const char *name, int *offset);
  86. long    fill_stat_mode(struct stat *stb, struct FileInfoBlock *fib);
  87. int    getpriority(int, int);
  88. int    setpriority(int, int, int);
  89. void    __ix_close_muFS(struct user *ix_u);
  90. ino_t    retrieve_ino(BPTR lock, struct InfoData *info, struct FileInfoBlock *fib);
  91. int    is_pseudoterminal(char *name);
  92. int    ioctl (int fd, unsigned long cmd, ...);
  93. char   *basename(char *tmp);
  94. int     filenamecmp(const char *fname);
  95. UWORD   __amiga2unixid(UWORD id);
  96. UWORD   __unix2amigaid(UWORD id);
  97.  
  98. #endif
  99.