Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
Licensed 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.
Definition in file manifest.c.
#include "arch.h"
#include <stdio.h>
#include <ctype.h>
#include <strings.h>
#include "jvmcfg.h"
#include "heap.h"
#include "exit.h"
#include "util.h"
Go to the source code of this file.
Functions | |
static void | manifest_c_dummy (void) |
rchar * | manifest_get_main (rchar *mnfname) |
Search a JAR manifest file for a main class attribute. | |
Variables | |
static char * | manifest_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/manifest.c $ $Id: manifest.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." |
|
Definition at line 40 of file manifest.c. |
|
Search a JAR manifest file for a main class attribute. This attribute MUST be all on one line and without any line continuations breaking up the class name. Look for a line of text like this, where | indicates that the following character is the first one on the line:
| |Main-Class: name.of.start.class\n | WITHOUT any line continuations, | |Main-Class: name.of.sta\n | rt.class\n |
< Convenient size for any stdio msg Definition at line 90 of file manifest.c. References exit_jvm(), EXIT_MANIFEST_JAR, HEAP_FREE_DATA, HEAP_GET_DATA, JVMCFG_JARFILE_MANIFEST_MAIN_CLASS, JVMCFG_STDIO_BFR, rfalse, rnull, and sysErrMsg(). |
|
Definition at line 40 of file manifest.c. |