12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {
- aprutil.pas
- Copyright (C) 2006 Felipe Monteiro de Carvalho
- This unit is a pascal binding for the Apache 2.0.58 headers.
- The headers were released under the following copyright:
- }
- { Copyright 2000-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.
- }
- unit aprutil;
- interface
- {$ifdef fpc}
- {$mode delphi}{$H+}
- {$endif}
- {$IFNDEF FPC}
- {$DEFINE WINDOWS}
- {$ENDIF}
- {$IFDEF WIN32}
- {$DEFINE WINDOWS}
- {$ENDIF}
- {$ifdef Unix}
- {$PACKRECORDS C}
- {$endif}
- uses
- {$ifdef WINDOWS}
- Windows,
- {$ENDIF}
- apr, ctypes;
- const
- {$IFDEF WINDOWS}
- LibAPRUtil = 'libaprutil.dll';
- {$ELSE}
- LibAPRUtil = '';
- {$ENDIF}
- {$include apr_xml.inc}
- {$include apr_uri.inc}
- {$include apr_md5.inc}
- implementation
- end.
|