PHP Classes

File: Forker/Defines.inc.php

Recommend this page to a friend!
  Classes of akash   PHP parallel programming   Forker/Defines.inc.php   Download  
File: Forker/Defines.inc.php
Role: Configuration script
Content type: text/plain
Description: configuration file
Class: PHP parallel programming
Run parallel scripts using a C++ program
Author: By
Last change:
Date: 14 years ago
Size: 1,552 bytes
 

Contents

Class file image Download
<?php
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/

define('FORKER_OUTPUT_HTML_TYPE', 'html');
define('FORKER_OUTPUT_OBJECT_TYPE', 'object');

define('FORKER_HANDLER_EXISTS', 1);
define('FORKER_HANDLER_CREATED', 0);
define('FORKER_HANDLER_FOUND', 2);
define('FORKER_HANDLER_NOT_FOUND', 2);

define('FORKER_GUID_LNEGTH', 32);

define('FORKER_COMMAND_WAITING_STATUS', 0);
define('FORKER_COMMAND_RUNNING_STATUS', 1);
define('FORKER_COMMAND_STOPPED_STATUS', 2);
define('FORKER_COMMAND_ABORTED_STATUS', 3);

define('FORKER_COMMAND_EXIST', 1);
define('FORKER_COMMAND_ADDED', 2);
define('FORKER_COMMAND_ERROR', 3);
define('FORKER_COMMAND_DELETED', 2);

define('FORKER_COMMAND_OUTPUT_SUCCESS', 0);
define('FORKER_COMMAND_OUTPUT_ERROR', 1);
define('FORKER_COMMAND_OUTPUT_WAITING', 2);

define('FORKER_HOME_DIR', "/opt/lampp/htdocs/php-forker");
?>