mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			538 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			538 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <Kernel/FileSystem/ProcFS/GlobalInode.h>
 | |
| 
 | |
| namespace Kernel {
 | |
| 
 | |
| class ProcFSLinkInode : public ProcFSGlobalInode {
 | |
|     friend class ProcFS;
 | |
| 
 | |
| public:
 | |
|     static ErrorOr<NonnullLockRefPtr<ProcFSLinkInode>> try_create(ProcFS const&, ProcFSExposedComponent const&);
 | |
| 
 | |
| protected:
 | |
|     ProcFSLinkInode(ProcFS const&, ProcFSExposedComponent const&);
 | |
|     virtual InodeMetadata metadata() const override;
 | |
| };
 | |
| 
 | |
| }
 | 
