add placeholder for classic magicmenu pull-down-on-titlebar behaviour when using...
[AROS.git] / workbench / fs / pipe / pipename.h
blob21a8591ffda428ddeb88e2784e668528a5374a51
1 /****************************************************************************
2 ** File: pipename.h
3 ** Program: pipe-handler - an AmigaDOS handler for named pipes
4 ** Version: 1.1
5 ** Author: Ed Puckett qix@mit-oz
6 **
7 ** Copyright 1987 by EpAc Software. All Rights Reserved.
8 **
9 ** History: 05-Jan-87 Original Version (1.0)
10 ** 07-Feb-87 Added conditional compilation for autoname.
15 /*---------------------------------------------------------------------------
16 ** PIPENAMELEN : this is the maximum length of names ParsePipeName()
17 ** can handle.
19 ** DEFAULT_PIPELEN : the default pipe size returned by ParsePipeName()
20 ** if no size is specified.
22 ** PIPE_SPEC_CHAR : this is the character used by ParsePipeName() as an
23 ** identifier for specifiers. See pipename.c
25 ** DEFAULT_TAPNAME_PREFIX : the prefix for default tap names. See pipename.c
27 ** AUTONAME_INIT : Initial value used by get_autoname() to form
28 ** default pipe names. It MUST contain a block of
29 ** digits. See pipename.c.
30 ** This is only used if AUTONAME or AUTONAME_STAR is true.
33 #define PIPENAMELEN 108
35 #define DEFAULT_PIPELEN 4096
37 #define PIPE_SPEC_CHAR '/'
38 #define DEFAULT_TAPNAME_PREFIX "CON:10/15/300/70/"
40 # define AUTONAME_INIT "*00000000"
44 #define isnumeral(c) inrange ((c), '0', '9')
48 extern int ParsePipeName ( /* Bname, nmp, sizep, tapnmp */ );
49 extern void BSTRtoCstr ( /* BSTRp, str, maxsize */ );
50 extern void CstrtoBSTR ( /* str, BSTRp, maxsize */ );
51 extern void CstrtoFIB ( /* str, BSTRp, maxsize */ );
52 extern int inrange ( /* x, lower, upper */ );
53 extern char uppercase ( /* c */ );
54 extern char *findchar ( /* str, ch */ );
55 extern void l_strcpy ( /* to, from */ );
56 extern char *strdiff ( /* str1, str2 */ );
58 extern char *get_autoname ( /* newflag */ );