/* -*- c -*- */
/* $Id: mischtml.h,v 1.1 2005/11/25 14:40:23 cher Exp $ */
#ifndef __MISCHTML_H__
#define __MISCHTML_H__

/* Copyright (C) 2005 Alexander Chernov <cher@ispras.ru> */

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#include "ej_types.h"

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

unsigned char *html_hyperref(unsigned char *buf, size_t size,
                             ej_cookie_t session_id,
                             const unsigned char *self_url,
                             const unsigned char *extra_args,
                             const unsigned char *format, ...);

void html_start_form(FILE *f, int mode, ej_cookie_t sid,
                     unsigned char const *self_url,
                     unsigned char const *hidden_vars);

void html_date_select(FILE *f, time_t t);

#endif /* __MISCHTML_H__ */
