c_src: update with new intern methods
[nit.git] / c_src / posix._ffi.h
1 /*
2 Extern implementation of Nit module posix
3 */
4 #ifndef POSIX_NIT_H
5 #define POSIX_NIT_H
6
7 #include "posix._nitni.h"
8 #include "math._ffi.h"
9 int posix___Sys_uid__assign___impl( Sys recv, int uid );
10 int posix___Sys_uid___impl( Sys recv );
11 int posix___Sys_gid__assign___impl( Sys recv, int gid );
12 int posix___Sys_gid___impl( Sys recv );
13 int posix___Sys_euid__assign___impl( Sys recv, int uid );
14 int posix___Sys_euid___impl( Sys recv );
15 int posix___Sys_egid__assign___impl( Sys recv, int gid );
16 int posix___Sys_egid___impl( Sys recv );
17 struct passwd* posix___new_Passwd_from_uid___impl( int uid );
18 struct passwd* posix___new_Passwd_from_name___impl( String name );
19 String posix___Passwd_name___impl( struct passwd* recv );
20 String posix___Passwd_passwd___impl( struct passwd* recv );
21 int posix___Passwd_uid___impl( struct passwd* recv );
22 int posix___Passwd_gid___impl( struct passwd* recv );
23 String posix___Passwd_dir___impl( struct passwd* recv );
24 String posix___Passwd_shell___impl( struct passwd* recv );
25 struct group* posix___new_Group_from_gid___impl( int gid );
26 struct group* posix___new_Group_from_name___impl( String name );
27 String posix___Group_name___impl( struct group* recv );
28 String posix___Group_passwd___impl( struct group* recv );
29 int posix___Group_gid___impl( struct group* recv );
30 Array_of_String posix___Group_mem___impl( struct group* recv );
31 #endif