~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/environ.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: environ.h,v 1.5 1999/08/19 11:28:31 andreas Exp $ -*- C++ -*-
 
1
// $Id$ -*- C++ -*-
2
2
// Environment commands
3
3
 
4
4
// Copyright (C) 1997 Technische Universitaet Braunschweig, Germany.
29
29
#ifndef _DDD_environ_h
30
30
#define _DDD_environ_h
31
31
 
32
 
#ifdef __GNUG__
33
 
#pragma interface
34
 
#endif
35
 
 
36
32
#include "strclass.h"
37
33
 
38
34
// Put NAME=VALUE into the environment
39
 
extern void put_environment(const string& name, const string& value);
 
35
extern void put_environment(const char *name, const char *value);
 
36
inline void put_environment(const string& name, const string& value){
 
37
  put_environment(name.chars(), value.chars());
 
38
}
40
39
 
41
40
// Return NAME1=VALUE1 NAME2=VALUE2 for each name defined by PUT_ENVIRONMENT
42
41
extern string set_environment_command();