summaryrefslogtreecommitdiff
path: root/cesar/host/station/station.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/host/station/station.h')
-rw-r--r--cesar/host/station/station.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/cesar/host/station/station.h b/cesar/host/station/station.h
index 8c6fd11c3e..751179a427 100644
--- a/cesar/host/station/station.h
+++ b/cesar/host/station/station.h
@@ -93,16 +93,10 @@ struct station_ctx
struct system_ctx *system;
tick_t current_tick_tck; /** current global clock tick got from sci msg */
u32 seed; /** station seed (may be needed for cesar initialization) */
-#ifdef STATION_SOCK
- int sock_fd; /** file descriptor for messaging input/output */
- int sock_pair_fd; /** file descriptor for socket pair, used by unit test */
- char sock_name[MAXPATHLEN]; /** filename of messaging input/output */
-#else /* STATION_SOCK */
int pipe_in_fd; /** file descriptor for messaging input pipe */
char pipe_in_name[MAXPATHLEN]; /** filename of messaging input file */
int pipe_out_fd; /** file descriptor for messaging output pipe */
char pipe_out_name[MAXPATHLEN]; /** filename of messaging output pipe */
-#endif /* STATION_SOCK */
int pipe_log_fd; /** output pipe file desc to send debug data */
char pipe_log_name[MAXPATHLEN]; /** output pipe filename to send debug data */
station_log_level_t log_level;
@@ -163,11 +157,7 @@ int station_ecos_set_itimer(station_ctx_t *station, tick_t tick);
static inline int station_is_initialized(station_ctx_t *station)
{
-#ifdef STATION_SOCK
- return (station->sock_fd >= 0);
-#else /* STATION_SOCK */
return ((station->pipe_in_fd >= 0) && (station->pipe_out_fd >= 0));
-#endif /* STATION_SOCK */
}
/**