Newer
Older
/*
** opt_init.c for 42sh
**
** Made by Seblu
** Login <seblu@epita.fr>
**
** Started on Sun Jul 30 03:33:09 2006 Seblu
** Last update Sun Jul 30 03:57:27 2006 Seblu
*/
#include "opt.h"
#include "../common/macro.h"
/*!
** Create a new option structure
**
** @return A new option structure
*/
ts_opt *opt_init(void)
{
ts_opt *new;
secmalloc(new, sizeof (ts_opt));
new->command = NULL;
return new;
}