chiark / gitweb /
build-sys: move more files from core/ to share/ that are generic enough
[elogind.git] / src / shared / initreq.h
similarity index 62%
rename from src/core/initreq.h
rename to src/shared/initreq.h
index 859042ce42343b2e85a605d9718f6fa1fa46645c..710037d84b403bf89fc30415d5d2b1043faceede 100644 (file)
  *     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