X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Finitreq.h;fp=src%2Fcore%2Finitreq.h;h=710037d84b403bf89fc30415d5d2b1043faceede;hb=baabc5776475f7313cdaa5f3bdb45c1c5d053f91;hp=859042ce42343b2e85a605d9718f6fa1fa46645c;hpb=254ed85a8c6ff182133a9843125e541929ba8197;p=elogind.git diff --git a/src/core/initreq.h b/src/shared/initreq.h similarity index 62% rename from src/core/initreq.h rename to src/shared/initreq.h index 859042ce4..710037d84 100644 --- a/src/core/initreq.h +++ b/src/shared/initreq.h @@ -45,14 +45,14 @@ * Linux doesn't use this right now. */ struct init_request_bsd { - char gen_id[8]; /* Beats me.. telnetd uses "fe" */ - char tty_id[16]; /* Tty name minus /dev/tty */ - char host[INITRQ_HLEN]; /* Hostname */ - char term_type[16]; /* Terminal type */ - int signal; /* Signal to send */ - int pid; /* Process to send to */ - char exec_name[128]; /* Program to execute */ - char reserved[128]; /* For future expansion. */ + char gen_id[8]; /* Beats me.. telnetd uses "fe" */ + char tty_id[16]; /* Tty name minus /dev/tty */ + char host[INITRQ_HLEN]; /* Hostname */ + char term_type[16]; /* Terminal type */ + int signal; /* Signal to send */ + int pid; /* Process to send to */ + char exec_name[128]; /* Program to execute */ + char reserved[128]; /* For future expansion. */ }; @@ -64,14 +64,14 @@ struct init_request_bsd { * struct to be 384 bytes. */ struct init_request { - int magic; /* Magic number */ - int cmd; /* What kind of request */ - int runlevel; /* Runlevel to change to */ - int sleeptime; /* Time between TERM and KILL */ - union { - struct init_request_bsd bsd; - char data[368]; - } i; + int magic; /* Magic number */ + int cmd; /* What kind of request */ + int runlevel; /* Runlevel to change to */ + int sleeptime; /* Time between TERM and KILL */ + union { + struct init_request_bsd bsd; + char data[368]; + } i; }; #endif