dirent.h   dirent.h 
skipping to change at line 34 skipping to change at line 34
#if !defined(_LFP_DIRENT_H_) #if !defined(_LFP_DIRENT_H_)
# define _LFP_DIRENT_H_ # define _LFP_DIRENT_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <dirent.h> #include <dirent.h>
DIR* lfp_opendir(const char *name);
int lfp_readdir(DIR *dirp, struct dirent *entry, struct dirent **result); int lfp_readdir(DIR *dirp, struct dirent *entry, struct dirent **result);
long lfp_telldir(DIR *dirp);
void lfp_seekdir(DIR *dirp, long offset);
void lfp_rewinddir(DIR *dirp);
int lfp_closedir(DIR *dirp);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_DIRENT_H_ */ #endif /* _LFP_DIRENT_H_ */
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added


 lfp.h   lfp.h 
skipping to change at line 28 skipping to change at line 28
/* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVEN T */ /* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVEN T */
/* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABL E */ /* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABL E */
/* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWI SE, */ /* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWI SE, */
/* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OT HER */ /* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OT HER */
/* DEALINGS IN THE SOFTWARE. */ /* DEALINGS IN THE SOFTWARE. */
/************************************************************************** *****/ /************************************************************************** *****/
#if !defined(_LFP_H_) #if !defined(_LFP_H_)
# define _LFP_H_ # define _LFP_H_
#include <lfp/aux.h>
#include <lfp/stdlib.h> #include <lfp/stdlib.h>
#include <lfp/string.h> #include <lfp/string.h>
#include <lfp/errno.h> #include <lfp/errno.h>
#include <lfp/fcntl.h> #include <lfp/fcntl.h>
#include <lfp/stat.h> #include <lfp/stat.h>
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added


 spawn.h   spawn.h 
skipping to change at line 39 skipping to change at line 39
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <lfp/fcntl.h> #include <lfp/fcntl.h>
#include <lfp/signal.h> #include <lfp/signal.h>
#include <inttypes.h> #include <inttypes.h>
#include <sys/types.h> #include <sys/types.h>
typedef struct { typedef struct {
int initialized; uint initialized;
int allocated; uint allocated;
struct lfp_spawn_action *actions; struct lfp_spawn_action *actions;
bool keep_descriptors;
int *kfd;
int kfd_size;
} lfp_spawn_file_actions_t; } lfp_spawn_file_actions_t;
int lfp_spawn_file_actions_init(lfp_spawn_file_actions_t *file_actions); int lfp_spawn_file_actions_init(lfp_spawn_file_actions_t *file_actions);
int lfp_spawn_file_actions_destroy(lfp_spawn_file_actions_t *file_actions); int lfp_spawn_file_actions_destroy(lfp_spawn_file_actions_t *file_actions);
int lfp_spawn_file_actions_addopen(lfp_spawn_file_actions_t *file_actions, int lfp_spawn_file_actions_addopen(lfp_spawn_file_actions_t *file_actions,
int fd, const char *path, int fd, const char *path,
uint64_t oflags, mode_t mode); uint64_t oflags, mode_t mode);
int lfp_spawn_file_actions_addclose(lfp_spawn_file_actions_t *file_actions, int lfp_spawn_file_actions_addclose(lfp_spawn_file_actions_t *file_actions,
int fd); int fd);
int lfp_spawn_file_actions_adddup2(lfp_spawn_file_actions_t *file_actions, int lfp_spawn_file_actions_adddup2(lfp_spawn_file_actions_t *file_actions,
int fd, int newfd); int fd, int newfd);
int lfp_spawn_file_actions_addkeep(lfp_spawn_file_actions_t *file_actions,
int fd);
typedef struct { typedef struct {
uint32_t flags; uint32_t flags;
sigset_t sigdefault; sigset_t sigdefault;
sigset_t sigmask; sigset_t sigmask;
pid_t pgroup; pid_t pgroup;
uid_t uid; uid_t uid;
gid_t gid; gid_t gid;
char *chdir_path; char *chdir_path;
char *pts_path; char *pts_path;
} lfp_spawnattr_t; } lfp_spawnattr_t;
skipping to change at line 88 skipping to change at line 94
LFP_SPAWN_SETUID = 1 << 4, LFP_SPAWN_SETUID = 1 << 4,
#define LFP_SPAWN_SETUID ( 1 << 4 ) #define LFP_SPAWN_SETUID ( 1 << 4 )
LFP_SPAWN_SETGID = 1 << 5, LFP_SPAWN_SETGID = 1 << 5,
#define LFP_SPAWN_SETGID ( 1 << 5 ) #define LFP_SPAWN_SETGID ( 1 << 5 )
LFP_SPAWN_SETCWD = 1 << 6, LFP_SPAWN_SETCWD = 1 << 6,
#define LFP_SPAWN_SETCWD ( 1 << 6 ) #define LFP_SPAWN_SETCWD ( 1 << 6 )
LFP_SPAWN_SETSID = 1 << 7, LFP_SPAWN_SETSID = 1 << 7,
#define LFP_SPAWN_SETSID ( 1 << 7 ) #define LFP_SPAWN_SETSID ( 1 << 7 )
LFP_SPAWN_SETCTTY = 1 << 8, LFP_SPAWN_SETCTTY = 1 << 8,
#define LFP_SPAWN_SETCTTY ( 1 << 8 ) #define LFP_SPAWN_SETCTTY ( 1 << 8 )
LFP_SPAWN_USEVFORK = 1 << 9,
#define LFP_SPAWN_USEVFORK ( 1 << 9 )
} lfp_spawnattr_flags; } lfp_spawnattr_flags;
int lfp_spawnattr_init(lfp_spawnattr_t *attr); int lfp_spawnattr_init(lfp_spawnattr_t *attr);
int lfp_spawnattr_destroy(lfp_spawnattr_t *attr); int lfp_spawnattr_destroy(lfp_spawnattr_t *attr);
int lfp_spawnattr_getflags(lfp_spawnattr_t *attr, uint32_t *flags); int lfp_spawnattr_getflags(lfp_spawnattr_t *attr, uint32_t *flags);
int lfp_spawnattr_setflags(lfp_spawnattr_t *attr, const uint32_t flags); int lfp_spawnattr_setflags(lfp_spawnattr_t *attr, const uint32_t flags);
int lfp_spawnattr_getsigmask(lfp_spawnattr_t *attr, sigset_t *sigmask); int lfp_spawnattr_getsigmask(lfp_spawnattr_t *attr, sigset_t *sigmask);
int lfp_spawnattr_setsigmask(lfp_spawnattr_t *attr, const sigset_t *sigmask ); int lfp_spawnattr_setsigmask(lfp_spawnattr_t *attr, const sigset_t *sigmask );
 End of changes. 4 change blocks. 
2 lines changed or deleted 10 lines changed or added


 stdlib.h   stdlib.h 
skipping to change at line 32 skipping to change at line 32
/* DEALINGS IN THE SOFTWARE. */ /* DEALINGS IN THE SOFTWARE. */
/************************************************************************** *****/ /************************************************************************** *****/
#if !defined(_LFP_STDLIB_H_) #if !defined(_LFP_STDLIB_H_)
# define _LFP_STDLIB_H_ # define _LFP_STDLIB_H_
#include <lfp/aux.h> #include <lfp/aux.h>
LFP_BEGIN_DECLS LFP_BEGIN_DECLS
#include <inttypes.h>
#include <stdlib.h> #include <stdlib.h>
int lfp_mkstemp(char *tmplate); int lfp_mkstemp(char *tmplate);
int lfp_mkostemp(char *tmplate, int flags); int lfp_mkostemp(char *tmplate, uint64_t flags);
char* lfp_getpath(char *const envp[]); char* lfp_getpath(char *const envp[]);
int lfp_ptsname(int masterfd, char *buf, size_t buflen); int lfp_ptsname(int masterfd, char *buf, size_t buflen);
LFP_END_DECLS LFP_END_DECLS
#endif /* _LFP_STDLIB_H_ */ #endif /* _LFP_STDLIB_H_ */
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/