-
Notifications
You must be signed in to change notification settings - Fork 0
/
headers.h
78 lines (72 loc) · 1.42 KB
/
headers.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#ifndef HEADERS_H_
#define HEADERS_H_
#include <stdio.h>
extern char *current_direc;
extern char *undo;
extern char *original;
extern char *manjur;
extern char *to_change;
extern int flagger;
extern int ok;
extern int file_hai;
extern int directory_hai;
extern struct stat data;
extern int paster;
#include <dirent.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "prompt.h"
#include "time.h"
#include "warp.h"
#include "trim.h"
#include "peek.h"
#include "seek.h"
#include "pastevents.h"
#include "neonate.h"
#include "iman.h"
#include "unistd.h"
#include "tokenize.h"
#include "fcntl.h"
#include "sys/stat.h"
#include "sys/types.h"
#include "sys/wait.h"
#include "proclore.h"
#include "signal.h"
#include "pwd.h"
#include "grp.h"
#include "time.h"
#include "signal.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include "termios.h"
#define MAX 1000
extern int foregroundProcessPid;
struct ProcessInfo
{
pid_t pid;
int status;
char **name;
int sz;
struct ProcessInfo *next;
};
// extern int itihas = 0;
struct ProcessInfo *removeProcess(struct ProcessInfo *head, pid_t pid);
struct node
{
pid_t pid;
int process_status;
char proc_name[100];
struct node *next;
};
typedef struct node node;
typedef struct myname
{
char process_name[100];
struct myname *next;
} myname;
extern char *command_pid[1000001];
extern char *s;
extern node *completedList;
#endif