2011-01-20 19:37:51 +01:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
2014-10-04 20:04:03 +02:00
|
|
|
* and is distributed under the 2-Clause BSD licence.
|
|
|
|
* Author: Tomasz Sowa <t.sowa@ttmath.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2014-02-12 17:30:49 +01:00
|
|
|
* Copyright (c) 2010-2014, Tomasz Sowa
|
2011-01-20 19:37:51 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
2014-10-04 20:04:03 +02:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
|
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*
|
2011-01-20 19:37:51 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef headerfile_winix_plugins_thread_pluginmsg
|
|
|
|
#define headerfile_winix_plugins_thread_pluginmsg
|
|
|
|
|
2014-02-12 17:30:49 +01:00
|
|
|
namespace Winix
|
|
|
|
{
|
|
|
|
|
2011-01-20 19:37:51 +01:00
|
|
|
|
2011-01-27 13:24:45 +01:00
|
|
|
// values from 4000 - 4099 reserved for 'thread' plugin
|
2011-01-20 19:37:51 +01:00
|
|
|
|
2011-01-24 00:23:24 +01:00
|
|
|
#define WINIX_PL_THREAD_SET_SORTTAB 4000
|
|
|
|
#define WINIX_PL_THREAD_READ_THREADS 4001
|
|
|
|
#define WINIX_PL_THREAD_SET_SORTTAB_INDEX 4002
|
|
|
|
#define WINIX_PL_THREAD_PREPARE_THREAD 4003
|
|
|
|
|
|
|
|
|
2012-09-14 09:14:54 +02:00
|
|
|
#define WINIX_PL_THREAD_SEARCH_THREAD_DIR 4004
|
|
|
|
|
|
|
|
|
|
|
|
#define WINIX_PL_THREAD_CAN_MAKE_REDIRECT 4005
|
2011-01-24 00:23:24 +01:00
|
|
|
|
2011-01-20 19:37:51 +01:00
|
|
|
|
2012-09-16 01:34:25 +02:00
|
|
|
// a new answer is going to add in a thread
|
|
|
|
// in p1 you have a pointer to the new Item struct
|
|
|
|
// cur->request->item is the 'main' thread file
|
|
|
|
#define WINIX_PL_THREAD_PREPARE_TO_REPLY_IN_THREAD 4006
|
|
|
|
|
|
|
|
|
2014-02-12 17:30:49 +01:00
|
|
|
} // namespace Winix
|
|
|
|
|
|
|
|
|
2011-01-20 19:37:51 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|